Write a program to produce the following output:
1
2
3
4
5
6
7
8
9
10
Answer Posted / nazar hussain khan
#include"stdio.h"
#include"conio.h"
void main(void)
{
clrscr();
int a,
for(i=1;i<=10;i++)
{
printf("%d",i);
}
printf("\n");
getch();
}
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
c language interview questions & answer
Write a code to remove duplicates in a string.
What is the function of this pointer?
What is the use of define in c?
Why is c platform dependent?
How can I delete a file?
Where does the name "C" come from, anyway?
Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.
What is the most efficient way to count the number of bits which are set in an integer?
Can you apply link and association interchangeably?
Explain what will be the outcome of the following conditional statement if the value of variable s is 10?
How would you rename a function in C?
Is c is a low level language?
What is the collection of communication lines and routers called?
Can you please compare array with pointer?