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=1;i>0;i++);
printf("i=%d",i);
what will be the answer????

Answer Posted / ankit shekhavat

after for lop,there is a semicolon.it means loop terminate
here..condition inside the loop will always true.so it will
be an infinite loop..nothing will be printed on the screen.
for next statement there will be printed any garbage value...

Is This Answer Correct ?    7 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the role you expect in software industry?

2085


What is the use of printf() and scanf() functions?

1068


Explain the ternary tree?

967


what is the diffrenet bettwen HTTP and internet protocol

1785


When c language was developed?

1011


What are qualifiers and modifiers c?

940


What is the difference between arrays and pointers?

1066


Explain pointer. What are function pointers in C?

1016


What is the difference between char array and char pointer?

982


What is s in c?

997


Write a program to show the change in position of a cursor using c

996


Is c language still used?

933


What does c mean in basketball?

944


When can a far pointer be used?

965


What is cohesion in c?

923