MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code?#include <stdio.h> void main() { char *ptr1= "Interview Mania"; char *ptr2 = ptr1; printf("%c %c", ptr2[0], ptr1[10]); } |
| A. | Interview Mania |
| B. | Compilation Error |
| C. | I M |
| D. | M I |
| E. | None of these |
| Answer» D. M I | |