Answer Posted / keerthana
#include<stdio.h>
void main()
{
int n,i;
scanf("%d",&n);
for(i=0;i<=n;i++)
{
if(n%2)!=0)
printf("Odd numbers",n);
}
}
| Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
what is the function of pragma directive in c?
why wipro wase
Do you know the use of fflush() function?
Explain what is the benefit of using enum to declare a constant?
Why doesnt that code work?
code for quick sort?
Why c language?
What are the types of operators in c?
How to get string length of given string in c?
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
How do I get an accurate error status return from system on ms-dos?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
Explain indirection?
What are the header files used in c language?
What does s c mean on snapchat?