Image

Programs - C Language - String Handling

Program:

#include<stdio.h>
#include<conio.h>
void main(){
char c;
 clrscr();

printf("Enter any character: ");
 c=getchar();

printf("Entered Character: ");
putchar(c);

 getch();
}