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
What are the different types of objects used in c?
What are the uses of a pointer?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
What is the difference between the = symbol and == symbol?
What are dangling pointers in c?
What does the file stdio.h contain?
How can you find out how much memory is available?
Why shouldn’t I start variable names with underscores?
Difference between constant pointer and pointer to a constant.
Why do we use null pointer?
What is 1f in c?
WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.
Difference between exit() and _exit() function?
Explain what is output redirection?