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

Why main is used in c?

1057


What is the benefit of using const for declaring constants?

1033


Explain the ternary tree?

1002


any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above

1032


a value that does not change during program execution a) variabe b) argument c) parameter d) none

1227


How are strings stored in c?

1003


a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above

1214


An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above

1158


What is the use of extern in c?

1079


Where is volatile variable stored?

1068


What are # preprocessor operator in c?

1090


Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?

1108


c program to compute AREA under integral

2384


What is declaration and definition in c?

1077


Write a program to know whether the input number is an armstrong number.

1102