You are viewing a single comment's thread. Return to all comments →
int main() { char ch; char s[99]; char sen[99]; scanf("%c",&ch); printf("%c\n",ch); scanf("%s",&s); printf("%s\n",s); fgets(sen,50,stdin); printf("%s",sen);
return 0;
}
How is this supposed to be not correct??? Why in the world do we need to use their way only???
Seems like cookies are disabled on this browser, please enable them to open this website
Playing With Characters
You are viewing a single comment's thread. Return to all comments →
include
include
include
include
int main() { char ch; char s[99]; char sen[99]; scanf("%c",&ch); printf("%c\n",ch); scanf("%s",&s); printf("%s\n",s); fgets(sen,50,stdin); printf("%s",sen);
}
How is this supposed to be not correct??? Why in the world do we need to use their way only???