C Program for unformatted input/output function getchar() and putchar()
//C Program for unformatted input/output function
getchar() and putchar()
#include<stdio.h>
#include<conio.h>
void main()
{
char ch;
clrscr();
printf("Enter
any Character : ");
ch =
getchar();
printf("Input
Char Is : ");
putchar(ch);
getch();
}
==================
OUTPUT:-
Enter any Character: f
Input Char Is: f
===================
Comments
Post a Comment