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

Write a program with dynamically allocation of variable.

1180


What are linker error?

1150


What is the use of f in c?

1031


How can I read data from data files with particular formats?

1092


What is #line?

1109


Write the test cases for checking a variable having value in range -10.0 to +10.0?

2367


What is function and its example?

1270


How do you list a file’s date and time?

1108


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

3741


What is getch?

1273


What are the __date__ and __time__ preprocessor commands?

1173


What is binary tree in c?

1136


How can you find out how much memory is available?

1112


can any one provide me the notes of data structure for ignou cs-62 paper

2230


What does char * * argv mean in c?

1117