1.

What is the size of *ptr in a 32-bit machine (Assuming initialization as int *ptr = 10;)?(a) 1(b) 2(c) 4(d) 8This question was addressed to me in an internship interview.Query is from Address Arithmetic in chapter Pointers and Arrays in C of C

Answer» RIGHT OPTION is (C) 4

The EXPLANATION is: NONE.


Discussion

No Comment Found

Related InterviewSolutions