How to stop class inheritance in C++ with condition that object creation should be allowed
No Answer is Posted For this Question
Be the First to Post Answer
Write a C++ Program to find Square Root of a number using sqrt() function.
How many times will this loop execute? Explain your answer.
Write a C++ Program to Check Whether a character is Vowel or Consonant.
What does malloc return in C and C++?
What is static variable and difference between(const char *p,char const *p,const char* const p).
What is the difference between creating an object, using 'new' and using 'malloc'?
Do you know about Agilent PRECOMPILERS. ?
What do you know about Volatile keyword in C++? Explain with an example code.
What is name mangling/name decoration?
Explain encapsulation in C++.
Explain why C++ is not purely Object Oriented Language
Identify the errors in the following program. #include <iostream> using namespace std; void main() { int i=5; while(i) { switch(i) { default: case 4: case 5: break; case 1: continue; case 2: case 3: break; } i-; } }