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

How to print %d in output

6 Answers   Wipro,


Differentiate call by value and call by reference?

0 Answers   Cyient,


What is the use of sizeof () in c?

0 Answers  


Which is the best sort method for library management?

1 Answers   Microsoft,


What is the difference between the local variable and global variable in c?

0 Answers  






A B C D E F G F E D C B A A B C D E F F E D C B A A B C D E E D C B A A B C D D C B A A B C C B A A B B A A A

2 Answers  


What does the function toupper() do?

0 Answers  


What is the difference between call by value and call by reference in c?

0 Answers  


int j =15,i; for (i=1; 1<5; ++i) {printf ("%d%d ",j,i); j = j-3; }

2 Answers  


what do u mean by Direct access files? then can u explain about Direct Access Files?

0 Answers   LG Soft,


How can a program be made to print the line number where an error occurs?

0 Answers  


shorting algorithmS

0 Answers   Wipro,


Categories