Answer Posted / chintu gandhi
main()
{
int i,n;
clrscr();
printf("\nenter range up to which u want to print");
scanf("%d",&n);
for(i=1;i<n;i=i+2)
{
printf("\n%d",i);
}
getch();
}
| Is This Answer Correct ? | 75 Yes | 33 No |
Post New Answer View All Answers
What is the difference between single charater constant and string constant?
How can you tell whether a program was compiled using c versus c++?
What is the benefit of using an enum rather than a #define constant?
What are the general description for loop statement and available loop types in c?
What are the advantages of Macro over function?
Why is this loop always executing once?
Which is more efficient, a switch statement or an if else chain?
Write a code to remove duplicates in a string.
What is the explanation for modular programming?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
Why pointers are used?
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
Why is extern used in c?
What is array of pointers to string?
What is masking?