What are inline functions? What is the syntax for defining an inline function?


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

Post New Answer

More C++ General Interview Questions

Why do we use classes in c++?

0 Answers  


Does c++ support multilevel and multiple inheritances?

0 Answers  


Why is polymorphism useful?

0 Answers  


What is pointer to member?

0 Answers  


Types of storage and scope of each type

2 Answers   CA,






What is java and c++?

0 Answers  


What are multiple inheritances (virtual inheritance)?

0 Answers  


class A { public: void f(); protected: A() {} A(const A&){} }; Examine the class declaration shown above. Why are the default and copy constructors declared as protected? 1. To ensure that A cannot be created via new by a more derived class 2. To ensure that A cannot be copied 3. To ensure that A cannot be used as a base class except when public inheritance has been used 4. To ensure that A cannot be created/copied outside the inheritance chain 5. To ensure that A cannot be instantiated as a static variable

1 Answers  


Write a String class which has: 1) default constructor 2) copy constructor 3) destructor 4) equality operator similar to strcmp 5) constructor which takes a character array parameter 6) stream << operator

2 Answers   HCL, Lehman Brothers, Zoomerang,


What are the extraction and insertion operators in c++? Explain with examples.

0 Answers  


What is the main function c++?

0 Answers  


They will ask u question about single linked list?. Write Code for to insert delete node.

2 Answers   Persistent,


Categories