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...

program in c to print 1 to 100 without using loop

Answer Posted / madhavi

main()
{
int i=1;
LOOP:
printf("%d\t",i);
i++;
if(i<=100)
goto LOOP;
}

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me about low level programming languages.

1135


What does p mean in physics?

1046


while initialization of array why we use a[][2] why not a[2][]...?

2365


What is %d called in c?

1236


What is a string?

1124


What is a structural principle?

1171


Where static variables are stored in memory in c?

1004


Is boolean a datatype in c?

1070


differentiate built-in functions and user – defined functions.

1094


What is the right type to use for boolean values in c?

1041


What is extern keyword in c?

1137


What is c language & why it is used?

1116


Compare array data type to pointer data type

1040


Are the expressions * ptr ++ and ++ * ptr same?

1158


What is difference between far and near pointers?

1045