ProgrammingHard

printf("%d", sizeof(void *) == sizeof(int *)); What is printed?

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

Correct answer: A. 1

All object pointers have the same size on a given platform, so the comparison is 1 (true).

More C Programming questions

Exams that ask this topic