How to delete array of objects in C++? Proof by C++ code for proper deletion
How to stop class inheritance in C++ with condition that object creation should be allowed
What is Advantage and Use of THIS pointer in C++ – Scenarios?
C++ Public access specifier instead of Private – What is bad ?
Is there a difference between class and struct?
How many times will this loop execute? Explain your answer.
How can a C function be called in a C++ program?
C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.
What is the difference between global int and static int declaration?
Specify different types of decision control statements?
Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL
What will the line of code below print out and why?
What is the error in the code below and how should it be corrected?
what is different between auto and local static? why should we use local static?
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.