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 does the c preprocessor do?
Does c have circular shift operators?
How can I recover the file name given an open stream?
Why is structure important for a child?
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
What do you mean by a local block?
When should I declare a function?
Explain how can you check to see whether a symbol is defined?
Explain enumerated types in c language?
What does sizeof int return?
What is malloc() function?
Explain what are bus errors, memory faults, and core dumps?
How can I read data from data files with particular formats?
What is the difference between class and object in c?
Write a program to print “hello world” without using semicolon?