STL (140)
OOPS (873)
C++ General (2409) How can you tell what shell you are running on unix system?
Difference between a copy constructor and an assignment operator.
Is c++ platform dependent?
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 is #include c++?
If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?
what are Access specifiers in C++ class? What are the types?
What are the vectors in c++?
Comment on local and global scope of a variable.
What do you mean by public protected and private in c++?
What are vtable and vptr?
Difference between a homogeneous and a heterogeneous container
List different attributes in C++?
What is polymorphism and why is it important?
What is using namespace std in c++?