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
Why doesn't C support function overloading?
How will you find a duplicate number in a array without negating the nos ?
What is the difference between arrays and pointers?
Compare and contrast compilers from interpreters.
What is the significance of scope resolution operator?
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
What are local variables c?
What is difference between structure and union in c?
What does. int *x[](); means ?
What is the symbol indicated the c-preprocessor?
Write a code to remove duplicates in a string.
write a program for the normal snake games find in most of the mobiles.
Using which language Test cases are added in .ptu file of RTRT unit testing???
How do I use strcmp?
what are bit fields? What is the use of bit fields in a structure declaration?