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
How would you obtain the current time and difference between two times?
write a program to find out prime number using sieve case?
What is a pointer value and address in c?
What is the function of multilevel pointer in c?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
What is a void pointer? When is a void pointer used?
Difference between malloc() and calloc() function?
Define recursion in c.
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.
How can I use a preprocessorif expression to ?
Explain enumerated types.
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above
in iso what are the common technological language?
How does sizeof know array size?
Explain bit masking in c?