Q. What is the output of C Program with String Arrays?
Code:int main()
{
char p[] = "GODZILLA";
int i=0;
while(p[i] != '\0')
{
printf("%c",*(p+i));
i++;
}
}
β
Correct Answer: (B)
GODZILLA