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 are the 4 types of functions?
string reverse using recursion
What is the difference between text and binary modes?
What is variables in c?
Is c language still used?
Why is not a pointer null after calling free?
Can you subtract pointers from each other? Why would you?
What is the use of header?
Why doesnt this code work?
Difference between malloc() and calloc() function?
Do pointers store the address of value or the actual value of a variable?
Explain how do you declare an array that will hold more than 64kb of data?
Write a Program to accept different goods with the number, price and date of purchase and display them
What is ## preprocessor operator in c?
Is that possible to store 32768 in an int data type variable?