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
Difference between macros and inline functions? Can a function be forced as inline?
How do I copy files?
What are different storage class specifiers in c?
What is the difference between int main and void main in c?
What are different types of pointers?
What is memcpy() function?
How important is structure in life?
How do I swap bytes?
Explain what standard functions are available to manipulate strings?
can we change the default calling convention in c if yes than how.........?
What is difference between && and & in c?
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
a value that does not change during program execution a) variabe b) argument c) parameter d) none
Write a progarm to find the length of string using switch case?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......