Why do we use templates?
No Answer is Posted For this Question
Be the First to Post Answer
Does a derived class inherit or doesn't inherit?
What are the various situations where a copy constructor is invoked?
what is data Abstraction? and give example
147 Answers Aaditya Info Solutions, American Express, CMS, College School Exams Tests, Data Entry Operator, First Advantage, Google, HCL, IBM, Infosys, Microsoft, Mind Links, NIIT, Oracle, Pact, QBit Systems, TCS, WAYA, Wipro,
A prime number is a number which is divisible only by itself and 1. Examples of the first few primes are 2, 3, 5, 7, 11. Consider writing a program which can generate prime numbers for you. Your program should read in and set a maximum prime to generate and a minimum number to start with when looking for primes. This program should be able to perform the following tasks: 1. Read the maximum number from user (keyboard input) to look for primes. The program should not return any primes greater than this number. 2. Read the minimum number from user (keyboard input) to look for primes. The program should not return any primes less than this number. 3. Generate and print out every prime number between the maximum prime and minimum number specified by the user.
Why do we need c++?
What is the Difference between "vector" and "array"?
15 Answers Covansys, Gambit, TCS, Wipro,
WHAT IS THE ABREVATION OF FORTRAN?
How do you establish an is-a relationship?
Explain how overloading takes place in c++?
What are function prototypes?
What is static function? Explain with an example
Differentiate between an external iterator and an internal iterator?