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
how to create duplicate link list using C???
Can a variable be both const and volatile?
Where in memory are my variables stored?
How can I delete a file?
What is pointers in c with example?
Which is better malloc or calloc?
What are the different types of data structures in c?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
What is the newline escape sequence?
What is const and volatile in c?
I need previous papers of CSC.......plz help out by posting them.......
Is this program statement valid? INT = 10.50;
What is #define used for in c?
What is a structure in c language. how to initialise a structure in c?
What is the use of clrscr?