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

c language interview questions & answer

1916


find out largest elemant of diagonalmatrix

2186


How can I manipulate individual bits?

995


What is an auto variable in c?

1177


What is your stream meaning?

1149


p*=(++q)++*--p when p=q=1 while(q<=6)

1710


What is p in text message?

947


How can I find out how much free space is available on disk?

1024


what are the different storage classes in c?

1136


Explain what is the difference between a string and an array?

1120


write a c program for swapping two strings using pointer

2585


Why static variable is used in c?

995


What is huge pointer in c?

1038


Explain output of printf("Hello World"-'A'+'B'); ?

1449


What is exit() function?

977