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 the explanation for cyclic nature of data types in c?
Implement bit Array in C.
# define x=1+4; main() { int x; printf("%d%d",x/2,x/4); }
Why doesnt that code work?
If I want to initialize the array like. int a[5] = {0}; then it gives me all element 0. but if i give int a[5] = {5}; then 5 0 0 0 0 is ans. what will I do for all element 5 5 5 5 5 in a single statement???
Explain c preprocessor?
Explain how to reverse singly link list.
Why c is a mother language?
why should i select you?
what is ans for this scanf(%%d",c);
Can I initialize unions?
How pointers are declared?