We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- C
- Introduction
- Playing With Characters
- Discussions
Playing With Characters
Playing With Characters
Sort by
recency
|
798 Discussions
|
Please Login in order to post a comment
Based on information given above and not going ahead of it. Correct way to input and print as required is
why not use fgets to input the sentence?
include
include
include
include
int main() {
}
include
include
include
include
int main() { char ch,s[100] ;
printf("%s",s); return 0; /* Enter your code here. Read input from STDIN. Print output to STDOUT */
return 0; }
include
include
include
include
int main() { char ch,s[100],sen[100],g; scanf("%C",&ch); scanf("%s",s); scanf("%c",&g); scanf("%[^\n]s",sen);
}