Un-Answered Questions { C++ }

How to delete array of objects in C++? Proof by C++ code for proper deletion

571


How to stop class inheritance in C++ with condition that object creation should be allowed

498


What is Advantage and Use of THIS pointer in C++ – Scenarios?

502


C++ Public access specifier instead of Private – What is bad ?

605


Is there a difference between class and struct?

736


How many times will this loop execute? Explain your answer.

639


How can a C function be called in a C++ program?

506


C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.

604


What is the difference between global int and static int declaration?

650


Specify different types of decision control statements?

613


Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL

579


What will the line of code below print out and why?

540


What is the error in the code below and how should it be corrected?

545


int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}

1048