Explain the differences between private, public and protected and give examples.
No Answer is Posted For this Question
Be the First to Post Answer
Which of the Standard C++ casts can be used to perform a ?safe? downcast: a) reinterpret_cast b) dynamic_cast c) static_cast d) const_cast
Consider the following code fragment: int main(void) { int m = 4; mystery ( m ); mystery ( m ); printf("%d", m); return 0; } What is the output on the monitor if mystery is defined as follows ? void mystery (int m) { m = m+3; }
Is dev c++ a good compiler?
What do you mean by public protected and private in c++?
Consider a c++ template funtion template<class T> T& Add(T a, T b){return a+b ;} if this function is called as T c = Add("SAM", "SUNG"); what will happen? What is the problem in the template declaration/ How to solve the problem.
What do you mean by delegate? Can a user retain delegates?
Why is c++ called oops?
What are the different operators in C++?
Explain how we implement exception handling in c++?
What are the advantages of using const reference arguments in a function?
What is implicit conversion/coercion in c++?
What is the difference between Pointer and a Reference? When you would use them?