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

In general, by using recursion, since it is the only
alternative to looping constructs

Is This Answer Correct ?    11 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why does this code crash?

1141


How can you avoid including a header more than once?

1019


How can a number be converted to a string?

1391


Explain what’s a signal? Explain what do I use signals for?

1246


What are pointers? Why are they used?

1246


Explain what are global variables and explain how do you declare them?

1231


Array is an lvalue or not?

1186


What is difference between && and & in c?

1152


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1942


Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

1126


What is local and global variable in c?

1248


What is meant by operator precedence?

1202


How important is structure in life?

1143


How do I create a directory? How do I remove a directory (and its contents)?

1214


Is there any demerits of using pointer?

1114