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 / sangeetha

the inner printf statement will print Hello but the outer
printf is %d it will print an integer but we didnt call the
value it will give u the garbage value.and the output of the
program will be hello5.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain Function Pointer?

1106


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

1230


how to write optimum code to divide a 50 digit number with a 25 digit number??

3209


in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above

1017


What is preprocessor with example?

1002


What is sizeof return in c?

988


main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above

1047


What is volatile, register definition in C

1061


What 'lex' does?

1104


if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above

1110


How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

2044


Can we compile a program without main() function?

1080


What are the advantages of external class?

1006


Explain what happens if you free a pointer twice?

1019


What's the difference between constant char *p and char * constant p?

1092