Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is class and object in c?

1115


what is event driven software and what is procedural driven software?

2566


What does 3 mean in texting?

1093


What is hungarian notation? Is it worthwhile?

1218


Why do we need arrays in c?

1152


Explain the bubble sort algorithm.

1057


What is .obj file in c?

1073


What is typedef struct in c?

1046


What are the rules for identifiers in c?

1064


Explain about block scope in c?

1091


Who is the main contributor in designing the c language after dennis ritchie?

998


What is a null string in c?

1035


What are the types of unary operators?

1183


Can a file other than a .h file be included with #include?

1161


Explain what will the preprocessor do for a program?

1063