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 the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.

4241


If errno contains a nonzero number, is there an error?

1292


Why isn't it being handled properly?

1001


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

1667


What is the use of define in c?

1001


What is echo in c programming?

964


What are the restrictions of a modulus operator?

1063


What are the types of type qualifiers in c?

1032


What is a union?

989


Write a program to print fibonacci series using recursion?

1007


What is %g in c?

1020


What is the -> in c?

955


Is c is a procedural language?

1034


Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?

1075


Who is the founder of c language?

1108