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

a=0;
while(a<5)
printf("%d\n",a++);
how many times does the loop occurs?
a.infinite
b.5
c.4
d.6

Answer Posted / ankit rastogi

ans should be (a)infinite
bcoz every time a will be initialize with 0......
and increment values are displayed
a=1
a=2
a=3
a=4...................upto infinity......

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

1145


Why cant I open a file by its explicit path?

1048


What is the difference between a function and a method in c?

1095


What does the && operator do in a program code?

1244


What is static identifier?

1230


What is calloc in c?

1153


Explain how do you generate random numbers in c?

1095


Why is #define used?

1286


any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()

1134


Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.

2089


Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58

1538


How can I do graphics in c?

1042


What are the disadvantages of a shell structure?

1362


What is the difference between variable declaration and variable definition in c?

1066


What does stand for?

1094