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 what standard functions are available to manipulate strings?

1132


#include int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

1777


What are the __date__ and __time__ preprocessor commands?

1181


What is the difference between array and linked list in c?

1210


What is clrscr ()?

1176


Explain built-in function?

1188


What is pointer to pointer in c with example?

1159


In a byte, what is the maximum decimal number that you can accommodate?

1201


how to introdu5ce my self in serco

2050


What are pointers really good for, anyway?

1121


What does malloc () calloc () realloc () free () do?

1105


Why is a semicolon (;) put at the end of every program statement?

1126


how can I convert a string to a number?

1141


What is the use of printf() and scanf() functions?

1196


What is the difference between int main and void main?

1101