TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
How To Print An Integer In C
Shobana J
Jul 08, 2016
40.1
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
In this blog, you will learn how to print an integer in C.
int.rar
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;
}
Explanation
In the above program, I wrote the code explaining how the number is printed as an integer.
Output
Print An Integer
C
Next Recommended Reading
C Program To Print Pascal Triangle