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 to print all the prime numbers with in the
given range

Answer Posted / vaibhav

need to check only odd no.s in the given range....this'll
dec. time complexity to some extent..

Is This Answer Correct ?    4 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain main function in c?

1082


Explain pointer. What are function pointers in C?

1078


Why flag is used in c?

1134


Why do we use pointer to pointer in c?

1084


Is that possible to store 32768 in an int data type variable?

1080


Can we initialize extern variable in c?

1138


Explain what standard functions are available to manipulate strings?

1076


What is the purpose of ftell?

1085


write a program to find the given number is prime or not

4766


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

1128


What is NULL pointer?

1096


What are keywords in c with examples?

1088


Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.

1065


What is c basic?

1177


What is the need of structure in c?

1125