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
i have a written test for microland please give me test pattern
Describe wild pointers in c?
Write a program of prime number using recursion.
Why isn't any of this standardized in c? Any real program has to do some of these things.
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
Explain what are header files and explain what are its uses in c programming?
Why does the call char scanf work?
Difference between goto, long jmp() and setjmp()?
How many bytes is a struct in c?
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
What is the difference between functions abs() and fabs()?
What is a pointer and how it is initialized?
What are the disadvantages of c language?
What is an operator?