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