Problem Description
C program to print a string using pointerCODING ARENA
#include <stdio.h>
int main()
{
char c[20];
scanf("%s",c);
printf("%s",c);
return 0;
}
Test Case 1
Input (stdin)helloworld
Expected Outputhelloworld
Test Case 2
Input (stdin)programming
Expected Outputprogramming
No comments:
Post a Comment