What is size of a empty class?
Post New Answer View All Answers
Explain the pure virtual functions?
What do c++ programmers do?
What is a terminating character in c++?
Out of fgets() and gets() which function is safe to use and why?
Describe protected access specifiers?
What is operator overloading in c++ example?
What does int * mean in c++?
What is a driver program?
Can you use the function fprintf() to display the output on the screen?
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.
What are multiple inheritances (virtual inheritance)?
What is the full form of dos?
Why struct is used in c++?
What is using namespace std in cpp?
Explain the difference between class and struct in c++?