//This program is compiled on 32 bit DEV-C++
char *ptr1, *ptr2;
printf(“%d %d”, sizeof(ptr1), sizeof(ptr2));
Answer with explanationAnswer: Option C
On 32 compilers pointer’s size is 4 bytes while on 64 bit compiler pointers size is 8 bytes. Note – If your computer is 64 bits then you can use both 32 bits and 64 bits compiler on it.
Discuss about the question