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
Explain the properties of union.
hi, which software companys will take,if d candidate's % is jst 55%?
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc
What is the use of extern in c?
What happens if a header file is included twice?
What is the use of ?: Operator?
Explain what are the different file extensions involved when programming in c?
What is the difference between declaring a variable by constant keyword and #define ing that variable?
Which is an example of a structural homology?
What is the purpose of sprintf() function?
Write a program to swap two numbers without using a temporary variable?
What are called c variables?
what is recursion in C
Is null valid for pointers to functions?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler