Difference between Abstraction and encapsulation in C++?
Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == 4 ) y-= 7; else y = 8; Enter a segment of code (without any IF statements) that does exectly the same thing using the switch structure.
Can we delete this pointer in c++?
What are the basic data types used in c++?
Comment on c++ standard exceptions?
Why c++ is created?
What are advantages of using friend classes?
What is a storage class?
What is the difference between strcpy() and strncpy()?
What is the full form of india?
Can we declare destructor as static? Explain?
Differentiate between a constructor and a destructor in c++.
Write a program to swap 2 chars without using a third varable? char *s = "A"; char *p = "B";