MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code on a 32-bit machine?#include <stdio.h> int main() { int n = 210; double m = 65; int *ptr1 = &n; double *ptr2 = &m; printf("n and m are %d and %d", sizeof(ptr1), sizeof(ptr2)); return 0; } |
| A. | 210 |
| B. | 65 |
| C. | Depends on compiler |
| D. | Compilation Error |
| E. | None of these |
| Answer» D. Compilation Error | |