Write a program to produce the following output:
1
2
3
4
5
6
7
8
9
10
Answer Posted / guest
#include<stdioh>
#include<conio.h>
void main()
{
int i;
for(i=0;i<=10;i++)
{
printf("%d",i);
}
}
Is This Answer Correct ? | 8 Yes | 14 No |
Post New Answer View All Answers
What are extern variables in c?
What are the advantages of external class?
what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555
What is the advantage of a random access file?
Is c is a procedural language?
What are the types of data files?
What is function what are the types of function?
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
What are the three constants used in c?
Explain what header files do I need in order to define the standard library functions I use?
Explain how do you search data in a data file using random access method?
What happens if header file is included twice?
What is the best organizational structure?
write a program to find the given number is prime or not
Why do we use int main instead of void main in c?