You are viewing a single comment's thread. Return to all comments →
here is my approach:
char ch; char s[100]; char sen[100]; scanf("%c\n",&ch); scanf("%s",s); // scanf("\n"); scanf("\n %[^\n]%*c",sen);
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 →
here is my approach:
char ch; char s[100]; char sen[100]; scanf("%c\n",&ch); scanf("%s",s); // scanf("\n"); scanf("\n %[^\n]%*c",sen);