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

Is register a keyword in c?

638


What is void main () in c?

735


What is a sequential access file?

648


difference between Low, Middle, High Level languages in c ?

1635


show how link list can be used to repersent the following polynomial i) 5x+2

1679






Hai what is the different types of versions and their differences

1492


What are terms in math?

595


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

5464


What is the function of this pointer?

675


Explain what is gets() function?

635


What is the difference between procedural and declarative language?

654


Explain what is the benefit of using enum to declare a constant?

589


What is the difference between break and continue?

606


Describe the steps to insert data into a singly linked list.

623


which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +

1187