What is class definition in c++ ?
No Answer is Posted For this Question
Be the First to Post Answer
What is virtual base class uses?
Shall we use 'free' to free memory assigned by new, What are the further consequences??
Is sorted c++?
Will the inline function be compiled as the inline function always? Justify.
Design a program to input a date from user in the form day/month/year (e.g. 2/6/2000) and report whether it’s a valid date or not. The program should take account of leap years. You will need to know that a leap year is a year that is exactly divisible by 4, except that century years are only leap years if they are divisible by 400.
How many types of casting are there in C++? When is a dynamic cast,static_cast,reinterpret cast used?
Explain function overloading and operator overloading.
class Foo { const int x; protected: Foo(int f); ~Foo(); }; Foo f; Referring to the sample code above, why will the class declaration not compile? a) The variable x is const. b) The destructor is protected. c) The destructor is not public. d) The constructor is protected. e) There is no default constructor.
Can a program run without main?
What are the different types of comments allowed in c++?
What are c++ variables?
in C++ , the word plus plus who found this?