Print Integer C Program
Here is C program to print integer. Here int is a keyword to declare integer variable.
This is C program to get input from keyboard and display it on screen.#include<stdio.h> int main() { int n=4; printf("Interget is %d\n",n); return 0; }
#include<stdio.h> int main() { int n; /*get integer from keyboard */ printf("Enter a interger: "); scanf("%d",&n); printf("Interget is %d",n); return 0; }