Problem Description
Print a string using PointerTest Case 1
Input (stdin)Cse
Expected OutputCse
Test Case 2
Input (stdin)eee
Expected Outputeee
Program
#include <stdio.h> #include <string.h> int main() { char str[100]; scanf("%s",str); printf("%s",str); return 0; }
No comments:
Post a Comment
Note: only a member of this blog may post a comment.