what is the output on the screen?
int n;
n=printf("my name is %d",printf("kiran %d",printf("kumar")));
printf("\n %d \n",n);
Answer Posted / kirankumaryakkala
see the printf defination at stdio.h
its, int printf(const char *,...)
//printf returns no of charecters written to the screen
// and ... represents variable no of arguments
//now every printf returns one integer corresponding to the
no of charecters written on the screen.
its simple , now u can guess
try it.
| Is This Answer Correct ? | 1 Yes | 7 No |
Post New Answer View All Answers
I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...
What is c definition?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
What are the features of c language?
What is meant by high-order and low-order bytes?
What are the parts of c program?
Which node is more powerful and can handle local information processing or graphics processing?
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
How do you override a defined macro?
What is the difference between Printf(..) and sprint(...) ?
What are different types of variables in c?
How can you pass an array to a function by value?
Write a Program to find whether the given number or string is palindrome.
Which control loop is recommended if you have to execute set of statements for fixed number of times?
How do I get a null pointer in my programs?