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

I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...

10204


What is c definition?

1279


"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above

1025


What are the features of c language?

1073


What is meant by high-order and low-order bytes?

1051


What are the parts of c program?

1101


Which node is more powerful and can handle local information processing or graphics processing?

1324


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

3544


How do you override a defined macro?

1273


What is the difference between Printf(..) and sprint(...) ?

1540


What are different types of variables in c?

1075


How can you pass an array to a function by value?

1125


Write a Program to find whether the given number or string is palindrome.

1279


Which control loop is recommended if you have to execute set of statements for fixed number of times?

1348


How do I get a null pointer in my programs?

1115