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 program to produce the following output:
1
2
3
4
5
6
7
8
9
10

Answer Posted / nazar hussain khan

#include"stdio.h"
#include"conio.h"
void main(void)
{
clrscr();
int a,
for(i=1;i<=10;i++)
{
printf("%d",i);
}
printf("\n");
getch();
}

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the explanation for cyclic nature of data types in c?

1225


Why is it usually a bad idea to use gets()? Suggest a workaround.

1804


Explain what are the different data types in c?

1232


Explain main function in c?

1094


What is typedef struct in c?

1060


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

1046


List some of the static data structures in C?

1208


what do you mean by enumeration constant?

1023


What is c basic?

1189


What is %d used for?

1048


How do you initialize pointer variables?

1111


What does the c preprocessor do?

1119


hi send me sample aptitude papers of cts?

2175


What is the use of a semicolon (;) at the end of every program statement?

1522


why do some people write if(0 == x) instead of if(x == 0)?

1088