Answer Posted / dally
#include<stdio.h>
int main()
{
int n,i;
printf("Enter values for n\n");
scanf("%d",&n);
for(i=0;i<=n;i++)
{
if(i%2 != 0)
printf("%d",i);
}
}
| Is This Answer Correct ? | 10 Yes | 16 No |
Post New Answer View All Answers
How can you increase the size of a statically allocated array?
What is pivot in c?
What are the string functions? List some string functions available in c.
Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent
Can we declare variable anywhere in c?
What is 2 d array in c?
Is file a keyword in c?
Tell me the use of bit field in c language?
What is c language used for?
Explain what is the purpose of "extern" keyword in a function declaration?
What is the use of header?
Explain the difference between #include "..." And #include <...> In c?
Explain what is a program flowchart and explain how does it help in writing a program?
What is function and its example?
What is a nested loop?