Write a program to produce the following output:
1
2
3
4
5
6
7
8
9
10
Answer Posted / alish agrwal
#include<stdio.h>
#include<conio.h>
void main()
{ int i;
for(i=1;i<=10;i++)
printf("\n",i);
getch();
}
Is This Answer Correct ? | 29 Yes | 14 No |
Post New Answer View All Answers
What is the difference between local variable and global variable in c?
What's the total generic pointer type?
What does the && operator do in a program code?
Why do we use & in c?
What does it mean when the linker says that _end is undefined?
How many keywords (reserve words) are in c?
Explain what is the difference between functions getch() and getche()?
Do you know the use of 'auto' keyword?
Tell me with an example the self-referential structure?
What does int main () mean?
What is array of structure in c programming?
Is javascript written in c?
What is the purpose of the preprocessor directive error?
In which layer of the network datastructure format change is done
Why are all header files not declared in every c program?