You are viewing a single comment's thread. Return to all comments →
int main() { char ch, s[100], sen[100]; scanf("%c\n",&ch); scanf("%s\n",&s); scanf("%[^\n]%*c",&sen); printf("%c\n%s\n%s",ch,s,sen); return 0; }
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, s[100], sen[100]; scanf("%c\n",&ch); scanf("%s\n",&s); scanf("%[^\n]%*c",&sen); printf("%c\n%s\n%s",ch,s,sen); return 0; }