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 with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.

3088


Explain the difference between getch() and getche() in c?

936


How can I swap two values without using a temporary?

1059


What is the function of multilevel pointer in c?

1026


Why structure is used in c?

1112


What is the best way to store flag values in a program?

1009


What are the data types present in c?

1090


Which control loop is recommended if you have to execute set of statements for fixed number of times?

1297


What is a program?

1184


What are linker error?

1036


How do I determine whether a character is numeric, alphabetic, and so on?

1070


Explain About fork()?

1057


What is 02d in c?

1027


What is pointer and structure in c?

1072


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

1216