adspace


write a program for odd numbers?

Answer Posted / monisha

#include<stdio.h>
#include<conio.h>
void main();
{
int n;
printf("Enter the number",n);
scanf("%d",&n);
for (i=1;i<=n;n+2)
printf("%d",i());
getch();
}

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pointers in c with example?

1169


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1617


How do you determine the length of a string value that was stored in a variable?

1205


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2829


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

2006


What is variable initialization and why is it important?

1394


What is pointer to pointer in c with example?

1200


write a progrmm in c language take user interface generate table using for loop?

2124


How do you convert strings to numbers in C?

1346


hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel

1944


i have a written test for microland please give me test pattern

2814


What is the difference between union and anonymous union?

1399


What is the general form of a C program?

1100


What are compound statements?

1292


write a program to find out prime number using sieve case?

2176