Hello coderz, today we will be solving Playing With Characters in C HackerRank Solution.
Solution – Playing With Characters in C HackerRank Solution
#include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h> int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ char ch; char s[24]; char sen[100]; scanf("%c\n%s\n%[^\n]s",&ch,s,sen); printf("%c\n%s\n%s",ch,s,sen); return 0; }
Disclaimer: The above Problem (Playing With Characters) is generated by Hacker Rank but the Solution is provided by CodingBroz.
Broz Who Code
CodingBroz