PROGRAM TO SHOW INPUT AND OUTPUT OF A STRING

/*PROGRAM TO SHOW INPUT AND OUTPUT OF A STRING*/
#include<stdio.h>
#include<conio.h>
void main()
{
char a[15];
clrscr();
printf(“Enter any string: “);
gets(a);
printf(“Inputted string is: “);
puts(a);
getch();
}

Leave a Reply

Your email address will not be published. Required fields are marked *