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
Give me the code of in-order recursive and non-recursive.
Discuss the function of conditional operator, size of operator and comma operator with examples.
What are the types of variables in c?
Is it possible to have a function as a parameter in another function?
What is self-referential structure in c programming?
Explain the difference between getch() and getche() in c?
What is the difference between a string and an array?
How can I get the current date or time of day in a c program?
What are the complete rules for header file searching?
What is oops c?
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
what type of questions arrive in interview over c programming?
What are the functions to open and close the file in c language?
How many levels of pointers can you have?
Can a pointer be null?