Top

Discussion

Which of the statements is correct about the program?

#include

int main()
{
    int i=10;
    int *j=&i;
    return 0;
}

 

  • A.j and i are pointers to an int
  • B.i is a pointer to an int and stores address of j
  • C.j is a pointer to an int and stores address of i
  • D.j is a pointer to a pointer to an int and stores address of i

Answer: C

No answer description available for this question.
 

No comment is present. Be the first to comment.
Loading…

Post your comment