how does printf function work
1)printf() is a built in library function which is defined
in <stdio.h> header file...
2) in printf(); function we can pass
1) entire string within "...." like :
eg: printf("my name is vignesh");
2) string with list of variables like :
eg: printf("%d%d" , i,j);
| |
first second
argument argument
3) like every function returns a value , PRINTF returns the
no. of characters which is inside "...".
eg: printf("%d",printf("hai how are u?"));
the output will be 14.....
4) printf() function is having direct contact with VDU
(video display unit) in the system..... so only it is
displayin every thing in the screen...........
thank u
| Is This Answer Correct ? | 7 Yes | 4 No |
What is assignment operator?
What does sizeof return c?
Convert the following expression to postfix and prefix X $ Y Z - M + N + P / Q / (R + S)
Do array subscripts always start with zero?
what is ram?
how do you programme Carrier Sense Multiple Access
main() { int i=1; while (i<=5) { printf("%d",i); if (i>2) goto here; i++; } } fun() { here: printf("PP"); }
what is a NULL pointer?
Program to find the value of e raised to power x using while loop
what are two kinds of java
whitch value return void main?
Why we write conio h in c?