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 are compound statements?
15.what is the disadvantage of using macros? 16.what is the self-referential structure? 17.can a union be self-referenced? 18.What is a pointer? 19.What is the Lvalue and Rvalue? 20.what is the difference between these initializations? 21.Char a[]=”string”; 22.Char *p=”literal”; 23.Does *p++ increment p, or what it points to?
write a function which accept two numbers from main() and interchange them using pointers?
How can I rethow can I return a sequence of random numbers which dont repeat at all?
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
What are Storage Classes in C ?
32 Answers CTS, HP, IBM, Maharaja Whiteline, Tamil Nadu Open University TNOU, TATA, TCS, Wipro,
How can I sort a linked list?
write a c program to convert fahrenheit to celsius?
c program to manipulate x=1+3+5+...+n using recursion
Which header file is used for clrscr?
int a=0,b=2; if (a=0) b=0; else b=*10; What is the value of b ?
What is #define size in c?