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
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values
What is null pointer in c?
What are examples of structures?
all c language question
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
Can a void pointer point to a function?
What is indirection? How many levels of pointers can you have?
What is the difference between call by value and call by reference in c?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?
how is the examination pattern?
How can I access an I o board directly?
Can you write a programmer for FACTORIAL using recursion?
Can we declare function inside main?
What is header file in c?