Q. What is the output of C program with strings?
Code:
int main()
{
char str[]="MALDIVES";
printf("%s ",str);
puts(str);
return 0;
}
β
Correct Answer: (C)
MALDIVES MALDIVES