Answer Posted / vignesh1988i
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 |
Post New Answer View All Answers
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
What is %lu in c?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
What is the scope of local variable in c?
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
What is a far pointer in c?
Write a program to find factorial of a number using recursive function.
Explain union. What are its advantages?
diff between exptected result and requirement?
Why is c called c?
Explain how do you search data in a data file using random access method?
What does the error 'Null Pointer Assignment' mean and what causes this error?
Why doesnt this code work?
what is the significance of static storage class specifier?
What are the types of bitwise operator?