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
int main()
{
char str[]={'g','l','o','b','y','\0'};
printf("%s",str);
return 0;
}
You must be Logged in to update hint/solution