C++ Public access specifier instead of Private – What is bad ?
No Answer is Posted For this Question
Be the First to Post Answer
What is the purpose of a constructor? Destructor?
Write a program to display the following output using a single cout statement Maths=90 Physics=77 Chemistry = 69
Factory Method C++ – How to delete pointers returned by it
Identify the error in the following program. include<iostream> using namespace std; void main() { int num[]={1,2,3,4,5,6}; num[1]==[1]num ? cout<<"Success" : cout<<"Error"; }
Can we call a virtual function from a constructor?
What is the difference between creating an object, using 'new' and using 'malloc'?
What are pass by value and pass by reference?what is the disadvantage of pass by value?
When would you use a pointer? A reference?
What is static variable and difference between(const char *p,char const *p,const char* const p).
C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.
What is Boyce Codd Normal form?
What are the major differences between C and C++?