programplug Logo




C Printf & Scanf Function


» The printf() function is used for output. printf, print the statement.
» The scanf() function is used for input. scanf read the input data.
» Both functions are inbuilt library functions, defined in header file (stdio.h).


#include    
void main()
 {    
	int age,mob_no;    
	printf("Enter Your Age:");    
	scanf("%d",&age);
	printf("Enter Your Mobile No:");    
	scanf("%d",&mob_no);    
	printf("\n Your Age Is:"age);    
	printf("\n Your Mobile No. Is:"mob_no);      
 }  

Output:-
Your Age Is age
Your Mobile No.Is mob_no






Our Services

Developing Cheapest Websites
Offer Digital Marketing
Provide College Projects
Attractive Website Developing
Summer Training,Industrial Training
SCO,SMO

Contact Us

Dehradun Uttarakhand India
www.programplug.com
info@programplug.com
08534019974
Designed By : Mridul Gupta

Other Link

About Us

Contact Us

Disclaimer

Privacy Policy