What is class definition in c++ ?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What is virtual base class uses?

0 Answers  


Shall we use 'free' to free memory assigned by new, What are the further consequences??

5 Answers   Symphony,


Is sorted c++?

0 Answers  


Will the inline function be compiled as the inline function always? Justify.

1 Answers  


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.

1 Answers  






How many types of casting are there in C++? When is a dynamic cast,static_cast,reinterpret cast used?

2 Answers   CTS,


Explain function overloading and operator overloading.

0 Answers  


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.

5 Answers   Quark,


Can a program run without main?

0 Answers  


What are the different types of comments allowed in c++?

0 Answers  


What are c++ variables?

0 Answers  


in C++ , the word plus plus who found this?

4 Answers  


Categories