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

void printer(int num)
{
if(n==0)
return;
printer(--n);
printf("%d ",n);
}

Is This Answer Correct ?    11 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

please give me some tips for the placement in the TCS.

2151


What is character set?

1214


What is difference between %d and %i in c?

1301


What is the value of h?

1083


In which layer of the network datastructure format change is done

1940


What are the different categories of functions in c?

1176


What is dynamic memory allocation?

1388


What are pragmas and what are they good for?

1056


What are the features of the c language?

1138


Is it possible to initialize a variable at the time it was declared?

1253


What is the explanation for prototype function in c?

1027


What is a program?

1334


List the difference between a "copy constructor" and a "assignment operator"?

1060


What are header files? What are their uses?

1278


printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

1213