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 / nishikant kamble

#include<stdio.h>
int main()
{
int i=1;
suhas:
printf("%d\t",i);
i++;
if(i==101)
{
exit(1);
}
goto suhas;
}

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell us bitwise shift operators?

1091


What is d scanf?

1082


Are c and c++ the same?

1053


What is structure in c explain with example?

1156


typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?

1636


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

1183


What are multibyte characters?

1114


What is union and structure?

1115


What is the difference between mpi and openmp?

1283


How can you tell whether a program was compiled using c versus c++?

1099


what type of questions arrive in interview over c programming?

2025


What are the properties of union in c?

1052


What are header files why are they important?

1086


Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58

1522


Who invented bcpl language?

1194