address of operatorKnow importance of scanf function in this blog with proper practical..." /> User Input Options in C language | Use of scanf function in C | Weight Loss Bookmarking Site
Facing issue in account approval? email us at info@ipt.pw

Click to Ckeck Our - FREE SEO TOOLS

1
USE OF SCANF FUNCTION IN C LANGAUGE
SCANF () FUNCTION..
Syntax:
scanf("format characters",&variable1,&variable2, .......);

ex:
a) scanf("%d", &a);
b) scanf("%d %d", &a, &b);
c) scanf("%d %f %c, ", &a, &b, &c);
& -> address of operator
Know importance of scanf function in this blog with proper practical way. This blog help you to know concept of user input in C language.
Use of scanf function in C

-> Scanf is an input function , the header for which is stdio.h
-> This function takes the value for given varaible at runtime.
-> At runtime when the scanf function is found in the program, execution stops and its wait for the user to provide values for the variables given with scanf() function.
-> We have to give that many values of that types , as the numbers and types of variable we have given with scanf function.
-> The given values gets assigned to the given varable seperately.
->The values given at run time may be seperated :
Loading...

Comments

Who Upvoted this Story