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

Define circular linked list.

1082


What is meant by type casting?

1106


How can a process change an environment variable in its caller?

1236


What are the advantages and disadvantages of pointers?

1121


What is the difference between declaring a variable by constant keyword and #define ing that variable?

3440


Explain what is a program flowchart and explain how does it help in writing a program?

1143


What is c variable?

1099


How can I sort a linked list?

1086


Explain About fork()?

1172


What is use of bit field?

1351


Explain threaded binary trees?

1214


What language is c written?

1100


What is volatile variable how do you declare it?

1186


Tell me about low level programming languages.

1190


What does calloc stand for?

1244