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
Can a local variable be volatile in c?
what is the height of tree if leaf node is at level 3. please explain
How can I write functions that take a variable number of arguments?
What are the types of pointers?
Is c language still used?
write a program to find the given number is prime or not
in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
What are the different types of objects used in c?
Explain the ternary tree?
string reverse using recursion
a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
Explain what is the purpose of "extern" keyword in a function declaration?
How can you call a function, given its name as a string?