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

Write a C program to print 1 2 3 ... 100 without using
loops?

Answer Posted / vivek

void main()
{
int i=1;
if(i<=100)
printf("%d",i);
continue;
getch();
}

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the heap in c?

1030


Where register variables are stored in c?

909


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

1186


What are the __date__ and __time__ preprocessor commands?

1040


What are bitwise shift operators in c programming?

1038


What is operator promotion?

1012


Is boolean a datatype in c?

1011


What is .obj file in c?

1023


Explain what is the most efficient way to store flag values?

1173


Explain about C function prototype?

1026


Write the syntax and purpose of a switch statement in C.

1039


Why do we write return 0 in c?

1006


a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list

963


What is difference between scanf and gets?

1169


Are pointers integers in c?

1029