Explain the differences between private, public and protected and give examples.
How can I learn c++ easily?
program to print this triangle * * * * * *
Why namespace is used in c++?
What are the various oops concepts in c++?
How would you use the functions sin(), pow(), sqrt()?
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.
whats the size of class EXP on 32 bit processor? class EXP { char c1; char c2; int i1; int i2; char *ptr; static int mem; };
What is general format for a prototype?
What are pointers used for c++?
What is pointer -to-members in C++? Give their syntax?
Explain linear search.
write a program to add two numbers without using an arithmetic operator.