

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following C code?#include <stdio.h> void main() { char *str = "AJIT"; char *ptr = str; printf("%c %c", *(ptr + 2), str[2]); } |
A. | Ajit |
B. | A A |
C. | Compilation Error |
D. | I I |
E. | None of these |
Answer» E. None of these | |