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
Tell me about low level programming languages.
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
Explain modulus operator. What are the restrictions of a modulus operator?
What are the parts of c program?
Which node is more powerful and can handle local information processing or graphics processing?
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
Is it valid to address one element beyond the end of an array?
What is null pointer constant?
What is function prototype in c language?
Explain about C function prototype?
Explain what is the difference between a free-standing and a hosted environment?
write a c program to calculate sum of digits till it reduces to a single digit using recursion
What are the different properties of variable number of arguments?
What is time complexity c?
What is the use of getchar() function?