MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the program (16-bit platform)? #include<stdio.h> #include<stdlib.h> int main() { int *p; p = (int *)malloc(20); printf("%d n", sizeof(p)); free(p); return 0; } |
| A. | 4 |
| B. | 2 |
| C. | 8 |
| D. | Garbage value |
| Answer» C. 8 | |