Q. What is the output of C program with strings?
Code:
int main()
{
char str[3]="SUNDAY";
printf("%s",str);
}
β
Correct Answer: (A)
SUNgarbagevalues
int main()
{
char str[3]="SUNDAY";
printf("%s",str);
}
You must be Logged in to update hint/solution