Introduction
- Printing an number or an integer in C programming is very simple and easy. Here I'm going to explain how to print an integer.
Software Requirement
- Turbo C++ OR C
Programming
- #include<stdio.h>
- #include<conio.h>
- int main()
- {
- int a;
- printf("Enter an integer\n");
- scanf("%d",&a);
- printf("\n Enter an integer that you have entered %d",a);
- return 0;
- }
- In the above program, I wrote the code explaining how the number is printed as an integer.

Output



Sr KarthigaPosted Jul 8, 2016, 1:15 AM
Clear explanation
Sr KarthigaPosted Jul 8, 2016, 1:13 AM
Nice one