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 / gunabalan

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

Is This Answer Correct ?    36 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is action and transformation in spark?

1166


Can we use visual studio for c?

1101


What is null pointer constant?

1172


How to establish connection with oracle database software from c language?

2205


What are different types of variables in c?

1080


plz let me know how to become a telecom protocol tester. thank you.

2191


What are dangling pointers? How are dangling pointers different from memory leaks?

1322


is it possible to create your own header files?

1107


What is hash table in c?

1025


a c code by using memory allocation for add ,multiply of sprase matrixes

2806


What is typedef example?

1193


What is a union?

1038


How arrays can be passed to a user defined function

1025


Does * p ++ increment p or what it points to?

1121


Why do we use stdio h and conio h?

1094