Write a program to display all the prime nos from 1 to
1000000, your code should not take time more than a minute
to display all the nos.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

write a c program to find the sum of five entered numbers using an array named number

0 Answers   TATA,


What are qualifiers and modifiers c?

0 Answers  


What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?

0 Answers  


which of 'arrays' or 'pointers' are faster?

5 Answers  


how to compare two strings without using strcmp() function??

1 Answers  






What is the correct code to have following output in c using nested for loop?

0 Answers  


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

0 Answers  


can we store values and addresses in the same array? explain

3 Answers   TCS,


What are the languages are portable and platform independent?Why they are like that?

1 Answers   Excel, Satyam,


define switch statement?

6 Answers   CTS,


which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;

0 Answers  


In which area global, external variables are stored?

3 Answers  


Categories