Q:

what will be the output of the following program:

0

what will be the output of the following program:

#include <stdio.h>
    int main()
    {
        int i = 0, j = 1;
        int *a[] = {&i, &j};
        printf("%d", (*a)[0]);
        return 0;
    }

  1. 0
  2. 4
  3. Compilation Error
  4. Run time error

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

0

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now
Output is... >>
<< Guess the output...