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

What is #include stdio h?

673


What is the translation phases used in c language?

622


What is the function of multilevel pointer in c?

665


What is the difference between abs() and fabs() functions?

596


explain what is an endless loop?

600






What do you mean by command line argument?

634


What is array within structure?

574


Why is struct padding needed?

621


What is the purpose of & in scanf?

586


What are the disadvantages of external storage class?

580


Where static variables are stored in memory in c?

513


4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.

1718


What is difference between constant pointer and constant variable?

614


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

2916


simple program of graphics and their output display

1460