Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a program for odd numbers?

Answer Posted / narendra

#include<stdio.h>
#include<conio.h>
void main()
{
int num;
clrscr();
printf("enter ur range:");
scanf("%d",&num);
for(i=1;i<=num;i+2)
printf("%d",num);
getch();
}

Is This Answer Correct ?    27 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you declare an array of three function pointers where each function receives two ints and returns a float?

1290


What do you mean by a local block?

1026


What are the various types of control structures in programming?

1005


How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

1052


What is %d used for?

992


What is c standard library?

1145


How can I dynamically allocate arrays?

1036


What is a void * in c?

1020


What is the advantage of an array over individual variables?

1186


Why double pointer is used in c?

988


What is realloc in c?

1016


What is register variable in c language?

986


Define macros.

1222


What are high level languages like C and FORTRAN also known as?

1105


What is header file definition?

1023