Top

Discussion

What will be the output of the program if the array begins at 65472 and each integer occupies 2 bytes?

#include

int main()
{
    int a[3][4] = {1, 2, 3, 4, 4, 3, 2, 1, 7, 8, 9, 0};
    printf("%u, %u\n", a+1, &a+1);
    return 0;
}

 

  • A.65474, 65476
  • B.65480, 65496
  • C.65480, 65488
  • D.65474, 65488

Answer: B

No answer description available for this question.

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

Post your comment