

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