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 / professor uday kumar bhupathi

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

Is This Answer Correct ?    12 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does c mean in basketball?

952


How macro execution is faster than function ?

1146


Can we declare a function inside a function in c?

999


Can the sizeof operator be used to tell the size of an array passed to a function?

1071


What is s in c?

1012


What is the function of volatile in c language?

1081


What is difference between stdio h and conio h?

1330


What is the difference between pure virtual function and virtual function?

1080


Is sizeof a keyword in c?

923


how is the examination pattern?

1971


Give me the code of in-order recursive and non-recursive.

1333


What is switch in c?

1051


application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above

1025


write a c program to calculate sum of digits till it reduces to a single digit using recursion

3262


What is the need of structure in c?

1061