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


Discussion

No Comment Found