1.

What will be the output of the following C code?
#include <stdio.h>
int main()
{
char s[15] = "INTERVIEW";
char *ptr = strrchr(s, 'R');
printf("%c n", *(++ptr));
}

A. R
B. Compilation Error
C. V
D. Garbage value
E. None of these
Answer» D. Garbage value


Discussion

No Comment Found