write a program to display numbers from 1 to 10 and 10 to 1?
Answer Posted / sureshmca
#include<stdio.h>
void main()
{
int num,i;
for(num=0;num<=10;num++)
{
printf("%d",num);
}
}
| Is This Answer Correct ? | 3 Yes | 9 No |
Post New Answer View All Answers
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
What is a char c?
What is this infamous null pointer, anyway?
Why is c so popular?
How many bytes are occupied by near, far and huge pointers (dos)?
Is boolean a datatype in c?
Can we change the value of constant variable in c?
How is = symbol different from == symbol in c programming?
What is restrict keyword in c?
Differentiate between #include<...> and #include '...'
what do you mean by inline function in C?
Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..
What are the types of macro formats?
What is the right type to use for boolean values in c?
What is .obj file in c?