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 are pointers?
What is cohesion in c?
How is a null pointer different from a dangling pointer?
Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix
Why should I prototype a function?
What is meant by operator precedence?
Write a program to check palindrome number in c programming?
What is sorting in c plus plus?
What is the use of structure padding in c?
State the difference between realloc and free.
Why enum is used in c?
List the variables are used for writing doubly linked list program.
Explain what is output redirection?
Why is c still so popular?
Write a code to generate a series where the next element is the sum of last k terms.