Print Integer Value - C Language Programming

Program in C language to print an integer value



Click here to open this program in Turbo C++

/*******************************************
Statement - Print Integer
Programmer - Vineet Choudhary
Written For - http://developerinsider.co
********************************************/

#include <stdio.h>
#include <conio.h>

void main()
{
	int a;
	clrscr();
	printf("Enter an integer\n");
	scanf("%d", &a);
	printf("Integer that you have entered is %d\n", a);
	getch();
}

/************************************************
Output -  
Enter an integer
2
Integer that you have entered is 2
************************************************/
Join

Search articles

Search titles, tags and article content.

    You've successfully subscribed to Developer Insider
    Your account is ready. Welcome to Developer Insider
    Welcome back! You've successfully signed in
    Success! Your account is fully activated, you now have access to all content.