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 is c basic?

1140


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

2973


Sir i need notes for structure,functions,pointers in c language can you help me please

2365


Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

1054


What is bubble sort in c?

1015


What is #include cctype?

1085


#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }

1104


The __________ attribute is used to announce variables based on definitions of columns in a table?

1159


Can we access array using pointer in c language?

1054


When was c language developed?

1150


How many types of arrays are there in c?

1016


What is openmp in c?

980


What is pivot in c?

990


Is there a way to compare two structure variables?

1079


Why c is called a mid level programming language?

1041