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

Can the size of an array be declared at runtime?

1090


How can I trap or ignore keyboard interrupts like control-c?

1069


How do I round numbers?

1015


What is this infamous null pointer, anyway?

1064


There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?

1309


Explain how can you avoid including a header more than once?

1095


console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above

1184


What are the types of functions in c?

990


How do I use strcmp?

1084


Why is extern used in c?

1095


What is abstract data structure in c?

1052


What are the difference between a free-standing and a hosted environment?

1293


Define circular linked list.

1039


What is meant by inheritance?

1092


i got 75% in all semester am i eligible for your company

2230