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 class and object in c?
what is event driven software and what is procedural driven software?
What does 3 mean in texting?
What is hungarian notation? Is it worthwhile?
Why do we need arrays in c?
Explain the bubble sort algorithm.
What is .obj file in c?
What is typedef struct in c?
What are the rules for identifiers in c?
Explain about block scope in c?
Who is the main contributor in designing the c language after dennis ritchie?
What is a null string in c?
What are the types of unary operators?
Can a file other than a .h file be included with #include?
Explain what will the preprocessor do for a program?