Top

Discussion

What will be the output of the program ?

#include
void fun(int **p);

int main()
{
    int a[3][4] = {1, 2, 3, 4, 4, 3, 2, 8, 7, 8, 9, 0};
    int *ptr;
    ptr = &a[0][0];
    fun(&ptr);
    return 0;
}
void fun(int **p)
{
    printf("%d\n", **p);
}

 

  • A.1
  • B.2
  • C.3
  • D.4

Answer: A

No answer description available for this question.

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

Post your comment