Program to show input and output of a string

Write a Program to show input and output of a string:-

#include<stdio.h>
void main()
{
char a[50];

printf("enter any string: \n');
gets(a);
puts(a);;
}

Related Posts