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

for(i=0;i=printf("Hello");i++);
printf("Hello");
how many times how will be printed?????????

Answer Posted / ruchi

Infinite times
i =printf("Hello");
here printf("hello") will return 5 i.e i=5 which will always
remain true that's why hello will be printed infinate times.

Is This Answer Correct ?    23 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is scope and lifetime of a variable in c?

992


Is Exception handling possible in c language?

1994


hi send me sample aptitude papers of cts?

2107


What are preprocessor directives in c?

1035


What does s c mean in text?

1057


What is structure and union in c?

1075


#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }

1109


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1482


How can you increase the size of a dynamically allocated array?

1137


Is there anything like an ifdef for typedefs?

1101


Write a c program to build a heap method using Pointer to function and pointer to structure ?

4625


What are pointers? Why are they used?

1116


How can I insert or delete a line (or record) in the middle of a file?

979


What is the best style for code layout in c?

1052


Why n++ execute faster than n+1 ?

2851