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

#include<stdio>
void main()
{
int i=1;
if(i<=100)
printf("%d",i);
i++;
continue;
getch;
}

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to implement a packet in C

2932


Simplify the program segment if X = B then C ← true else C ← false

3066


A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

1151


what is the structure pointer?

2180


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

2184


Compare interpreters and compilers.

1115


Explain how can I convert a number to a string?

1207


What is a header file?

1138


What is realloc in c?

1166


What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?

1396


Is printf a keyword?

1259


What are the various types of control structures in programming?

1106


What are categories used for in c?

1151


Can you define which header file to include at compile time?

1071


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

1163