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...

a simple c program using 'for' loop to display the output

5

4

3

2

1

Answer Posted / rohit dilip kakade

#include<stdio.h>
#include<conio.h>
void main(void)
{
   int i;
clrscr();
    for(i=5;i>0;i--)
{
      printf("
%d",i);
}
getch();
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the data types present in c?

1242


Why is c platform dependent?

1140


What is sorting in c plus plus?

1026


Why is sprintf unsafe?

1132


What is an auto variable in c?

1296


Can variables be declared anywhere in c?

1150


What is a char c?

1089


In c language can we compile a program without main() function?

1179


in iso what are the common technological language?

2164


Write a program to swap two numbers without using third variable?

1351


Why isn't any of this standardized in c? Any real program has to do some of these things.

1266


Why is sizeof () an operator and not a function?

1091


What is hashing in c?

1212


What is the difference between typedef and #define?

1114


What are compound statements?

1245