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
#include
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(
Mention four important string handling functions in c languages .
Why should I prototype a function?
What is printf () in c?
Is there a way to jump out of a function or functions?
What are the disadvantages of external storage class?
How would you rename a function in C?
What are the advantages and disadvantages of pointers?
Differentiate between a structure and a union.
What's the right way to use errno?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
What kind of structure is a house?
What does *p++ do?
What is the purpose of the statement: strcat (S2, S1)?