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

Are local variables initialized to zero by default in c?

1054


show how link list can be used to repersent the following polynomial i) 5x+2

2316


What is extern variable in c with example?

1004


How do I get an accurate error status return from system on ms-dos?

1133


Write a c program to demonstrate character and string constants?

2199


What are # preprocessor operator in c?

1121


Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

1096


WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..

2090


Can variables be declared anywhere in c?

1095


Explain the binary height balanced tree?

1195


What is the default value of local and global variables in c?

1050


What does emoji p mean?

1124


Write a program for finding factorial of a number.

1092


How can I find out if there are characters available for reading?

1115


How would you use the functions fseek(), freed(), fwrite() and ftell()?

1167