Q. What is the output of C Program with Strings.?
Code:
int main()
{
char str[]={'g','l','o','b','y','\0'};
printf("%s",str);
return 0;
}
β
Correct Answer: (C)
globe