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...

printf("%d",(printf("Hello")); What it returns?

Answer Posted / atul shukla

printf("%d",(printf("Hello"));

result is for sure hello5
anywhere if braces () are used it uses stack to perform its
operation last open braces will sort first and
print 'hello'and printf return int value its protype is
int printf(const char *format [,argument,...]);
value return will be length of string thats 5
u can change hello to any other string it will print lenght
of string only

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is the general form of a c program?

1031


Explain what are preprocessor directives?

1014


What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

2203


a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);

1067


Explain what is the purpose of "extern" keyword in a function declaration?

1028


Why do we use stdio h and conio h?

1031


Is c easier than java?

998


how to build a exercise findig min number of e heap with list imlemented?

2017


Define the scope of static variables.

1063


Can stdout be forced to print somewhere other than the screen?

1013


What are lookup tables in c?

950


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

1030


What is the significance of an algorithm to C programming?

996


Write a program to swap two numbers without using the third variable?

1015


how many key words availabel in c a) 28 b) 31 c) 32

1010