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
|
871 Discussions
|
Please Login in order to post a comment
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);
Here is HackerRank Playing with Characters solution in C
include
include
include
include
int main() {
}
Here is HackerRank Playing with characters solution in c