Q. What is the output of C program with strings?
Code:
int main()
{
char str[2];
scanf("%s", str);
printf("%s",str);
return 0;
}
//Input: South
β
Correct Answer: (B)
South