How will you print a list of all unique words from a string which may contain repeated words?
No Answer is Posted For this Question
Be the First to Post Answer
There is a base class sub, with a member function fnsub(). There are two classes super1 and super2 which are sub classes of the base class sub.if and pointer object is created of the class sub which points to any of the two classes super1 and super2, if fnsub() is called which one will be inoked?
What is RTTI and why do you need it?
How does stack look in function calls? When does stack overflow? What can you do to remedy it?
Explain function prototypes in C++.
How to reverse a string in C++
What is wrong with this statement? std::auto_ptr ptr(new char[10]);
What is the difference between an ARRAY and a LIST in C++?
What does it mean to take the address of a reference?
Define type casting in C++.
What is Advantage and Use of THIS pointer in C++ – Scenarios?
Identify the error in the following program. #include<iostream.h> void main() { int i = 0; i = i + 1; cout « i « " "; /*comment *//i = i + 1; cout << i; }
Explain what happens when an exception is thrown in C++.