This application was built with 32-bit DEV-C++ int main() printf("percent d percent d", sizeof(ptr1), sizeof(ptr2)); char *ptr1, *ptr2; 0;
A. 1
B. 2
C. 4
D. Unspecified
Answer:C
This application was built with 32-bit DEV-C++ int main() printf("percent d percent d", sizeof(ptr1), sizeof(ptr2)); char *ptr1, *ptr2; 0;
A. 1 B. 2 C. 4 D. Unspecified
Explanation: The size of a pointer in a 32-bit compiler is 4 bytes, whereas it is 8 bytes in a 64-bit compiler. Note that if your PC is 64-bit, you can utilise both 32-bit and 64-bit compilers.