1.

What will be the output of the following C code?
#include <stdio.h>
void main()
{
char str[] = "WELCOME";
str++;
printf("%c n", *str);
}

A. Compilation Error
B. W
C. L
D. Garbage value
E. None of these
Answer» B. W


Discussion

No Comment Found