write the prime no program in c++?

Answer Posted / ashwin kanjariya

I accept the last function since it has less time complexity than all other functions........

Is This Answer Correct ?    4 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the auto storage classes in c++.

605


Write my own zero-argument manipulator that should work same as hex?

589


Why are pointers not used in c++?

628


What is object file? How can you access object file?

601


Is swift faster than go?

619






What are the general quetions are in DEna bank manager IT/System interviews?

1537


What are the advantage of using register variables?

643


Can we overload operator in c++?

552


Explain overriding.

608


What is the use of "new" operator?

661


Explain virtual class and friend class.

605


What is a base class?

606


Write an algorithm that determines whether or not an almost complete binary tree is a heap.

3431


How do you generate a random number in c++?

606


What is encapsulation in c++ with example?

591