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 / neha

int i;
void main(void)
{
if(i<=100)
printf("%d\n", i);
i++;
main();
getch();
}

Is This Answer Correct ?    29 Yes 26 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com

1726


Where static variables are stored in c?

1044


What is file in c preprocessor?

1091


In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)

2064


What is stack in c?

1031


What is static volatile in c?

977


Write a program to generate the Fibinocci Series

1164


Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.

1188


What language is c written?

976


write a program for the normal snake games find in most of the mobiles.

2219


How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

2044


Why is %d used in c?

965


Describe static function with its usage?

1156


What is the c value paradox and how is it explained?

994


What is #include stdio h?

1064