Q. What is the output of C Program with arrays?
Code:int main()
{
char str[]={"C","A","T","\0"};
printf("%s",str);
return 0;
}
β
Correct Answer: (D)
Compiler error
int main()
{
char str[]={"C","A","T","\0"};
printf("%s",str);
return 0;
}
You must be Logged in to update hint/solution