What is the output of C Program with
#include<stdio.h>
int main()
{
char str [25];
scanf("%s", str);
printf("%s",str);
return 0;
/ /input: South State
Answers
Answered by
2
#include<stdio.h>
int main()
{
char str [25];
scanf("%s", str);
printf("%s",str);
return 0;
output:
Error
because, curly braces missing at the last line.
correct program is,
#include<stdio.h>
int main()
{
char str [25];
scanf("%s", str);
printf("%s",str);
return 0;
}
output;
South State
South State
Similar questions