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 the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.
If errno contains a nonzero number, is there an error?
Why isn't it being handled properly?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
What is the use of define in c?
What is echo in c programming?
What are the restrictions of a modulus operator?
What are the types of type qualifiers in c?
What is a union?
Write a program to print fibonacci series using recursion?
What is %g in c?
What is the -> in c?
Is c is a procedural language?
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
Who is the founder of c language?