What are the extraction and insertion operators in c++? Explain with examples.
No Answer is Posted For this Question
Be the First to Post Answer
How do you know that your class needs a virtual destructor?
class A { public: void f(); protected: A() {} A(const A&){} }; Examine the class declaration shown above. Why are the default and copy constructors declared as protected? 1. To ensure that A cannot be created via new by a more derived class 2. To ensure that A cannot be copied 3. To ensure that A cannot be used as a base class except when public inheritance has been used 4. To ensure that A cannot be created/copied outside the inheritance chain 5. To ensure that A cannot be instantiated as a static variable
They will ask u question about single linked list?. Write Code for to insert delete node.
How does atoi function work?
Write a recursive program to calculate factorial in c++.
Write a short code using c++ to print out all odd number from 1 to 100 using a for loop
How does throwing and catching exceptions differ from using setjmp and longjmp?
What is the prototype of printf function?
What does asterisk mean in c++?
What is a container class?
What is enum c++?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.