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

Why doesnt long int work?

1035


What are the difference between a free-standing and a hosted environment?

1284


What is memory leak in c?

1125


If I have a char * variable pointing to the name of a function ..

1168


Is swift based on c?

1100


can we implement multi-threads in c.

1126


How can I list all of the predefined identifiers?

982


Can variables be declared anywhere in c?

1085


a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above

1388


Can a variable be both static and volatile in c?

1036


Explain the difference between malloc() and calloc() in c?

1042


a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list

1058


What are structure types in C?

1096


code for replace tabs with equivalent number of blanks

2156


Explain how do you list files in a directory?

1067