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
When should the const modifier be used?
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
Describe the header file and its usage in c programming?
What is array in c with example?
What is the newline escape sequence?
Why is c still so popular?
Why & is used in c?
The __________ attribute is used to announce variables based on definitions of columns in a table?
Can the “if” function be used in comparing strings?
How can I make it pause before closing the program output window?
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
Can you please compare array with pointer?
How do you use a pointer to a function?
What are the restrictions of a modulus operator?
Tell us the use of fflush() function in c language?