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
What is #line?
Is calloc better than malloc?
Describe the modifier in c?
write a program to find out prime number using sieve case?
Why is c not oop?
Can we declare variables anywhere in c?
Can you assign a different address to an array tag?
Disadvantages of C language.
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
can we change the default calling convention in c if yes than how.........?
difference between Low, Middle, High Level languages in c ?
What are c header files?
What are 'near' and 'far' pointers?
Can you please explain the scope of static variables?