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