Write a program to produce the following output:
1
2
3
4
5
6
7
8
9
10
Answer Posted / munna
#include<stdio.h>
#include<conio.h>
void main()
{
int i=0;
for(i=0;i<=10;i++)
{
printf("the required numbers are:%d",i);
}
getch();
}
| Is This Answer Correct ? | 3 Yes | 9 No |
Post New Answer View All Answers
What are volatile variables in c?
What does a function declared as pascal do differently?
Here is a neat trick for checking whether two strings are equal
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
What are control structures? What are the different types?
What is void pointers in c?
What is wrong in this statement?
What is declaration and definition in c?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.
writ a program to compare using strcmp VIVA and viva with its output.
With the help of using classes, write a program to add two numbers.
What does the characters “r” and “w” mean when writing programs that will make use of files?
Can you please compare array with pointer?
How do I get a null pointer in my programs?