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 display numbers from 1 to 10 and 10 to 1?

Answer Posted / sureshmca

#include<stdio.h>
void main()
{
int num,i;
for(num=0;num<=10;num++)
{
printf("%d",num);
}
}

Is This Answer Correct ?    3 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to create duplicate link list using C???

2558


Can a variable be both const and volatile?

1130


Where in memory are my variables stored?

1178


How can I delete a file?

1061


What is pointers in c with example?

1071


Which is better malloc or calloc?

1097


What are the different types of data structures in c?

1164


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

1176


What is the newline escape sequence?

1073


What is const and volatile in c?

1044


I need previous papers of CSC.......plz help out by posting them.......

2287


Is this program statement valid? INT = 10.50;

1145


What is #define used for in c?

1062


What is a structure in c language. how to initialise a structure in c?

1062


What is the use of clrscr?

1103