You are viewing a single comment's thread. Return to all comments →
You can also take a temp variable and try this
int main() {
/* Enter your code here. Read input from STDIN. Print output to STDOUT */ char ch; scanf("%c",&ch); char s[20]; scanf("%s",s); char t; scanf("%c",&t); char sen[100]; scanf("%[^\n]",sen); printf("%c\n",ch); printf("%s\n",s); printf("%s\n",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 →
You can also take a temp variable and try this
include
include
include
include
int main() {
}