Q. What is the output of C Program with arrays?
Code:int main()
{
char str[25];
scanf("%s", str);
printf("%s",str);
return 0;
}
//input: South Africa
β
Correct Answer: (B)
South
int main()
{
char str[25];
scanf("%s", str);
printf("%s",str);
return 0;
}
//input: South Africa
You must be Logged in to update hint/solution