Un-Answered Questions { C++ }

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

590


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

519


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

517


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

634


Is there a difference between class and struct?

765


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

653


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

525


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

628


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

683


Specify different types of decision control statements?

631


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

599


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

563


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

566


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

1068