home
Learn
screen_rotation
#include <stdio.h> #include <conio.h> void main(){ char a; clrscr(); printf("Enter value of a: "); scanf("%c",&a);/* & is used before variable name when you want to read data*/ printf("\n value of a = %c",a); getch(); }
Program Output
Enter value of a: N value of a = N