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