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 #line?

1110


Is calloc better than malloc?

1075


Describe the modifier in c?

1144


write a program to find out prime number using sieve case?

2137


Why is c not oop?

1038


Can we declare variables anywhere in c?

1053


Can you assign a different address to an array tag?

1211


Disadvantages of C language.

1157


Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above

1192


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

2623


can we change the default calling convention in c if yes than how.........?

2592


difference between Low, Middle, High Level languages in c ?

2139


What are c header files?

1037


What are 'near' and 'far' pointers?

1091


Can you please explain the scope of static variables?

1106