What will happen if a pointer is deleted twice?
No Answer is Posted For this Question
Be the First to Post Answer
What is type of 'this' pointer?
What is the best c++ book?
Explain "const" reference arguments in function?
What is main function in c++ with example?
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator
Give an example of run-time polymorphism/virtual functions.
class professor {}; class teacher : public virtual professor {}; class researcher : public virtual professor {}; class myprofessor : public teacher, public researcher {}; Referring to the sample code above, if an object of class "myprofessor" were created, how many instances of professor will it contain? a) 0 b) 1 c) 2 d) 3 e) 4
Explain the need for "Virtual Destructor"?
Write a Program for find and replace a character in a string.
write a c++ program that gives output 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 using looping statement
Explain the isa and hasa class relationships. How would you implement each?
What can I use instead of namespace std?