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 / asit mahato

for(i=0;i=printf("Hello");i++);
means
for(i=0;i=printf("Hello");i++)
{

}
thats why it will print Hello only one time.

Is This Answer Correct ?    2 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List some of the dynamic data structures in C?

1229


What is a floating point in c?

1062


What is %lu in c?

1240


How do you determine whether to use a stream function or a low-level function?

1113


What are the data types present in c?

1151


What is wrong with this program statement? void = 10;

1240


How can I read a binary data file properly?

1147


What is nested structure?

1030


What is the difference between #include

and #include “header file”?

1015


How many types of operators are there in c?

1020


What are the different file extensions involved when programming in C?

1240


If the size of int data type is two bytes, what is the range of signed int data type?

1014


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1868


What do you understand by friend-functions? How are they used?

1195


Can we replace the struct function in tree syntax with a union?

1295