How one would use switch in a program?


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

Post New Answer

More C++ General Interview Questions

If a function doesn’t return a value, how do you declare the function?

0 Answers  


What is singleton pattern in c++?

0 Answers  


Why ctype h is used in c++?

0 Answers  


What is unary operator? List out the different operators involved in the unary operator.

0 Answers  


How do you compile the source code with your compiler?

0 Answers  






What you mean by early binding and late binding? How it is related to dynamic binding?

1 Answers  


Define a conversion constructor?

0 Answers  


template<class T, class X> class Obj { T my_t; X my_x; public: Obj(T t, X x) : my_t(t), my_x(x) { } }; Referring to the sample code above, which one of the following is a valid conversion operator for the type T? a) T operator T () { return my_t; } b) T operator(T) const { return my_t; } c) operator(T) { return my_t; } d) T operator T (const Obj &obj) { return obj.my_t; } e) operator T () const { return my_t; }

1 Answers   Quark,


What is a container class? What are the types of container classes?

1 Answers  


How many static variables are created if you put one static member into a template class definition?

0 Answers  


why c++ is not called strictly d super set of c?

3 Answers   Satyam,


How java is different from c and c++?

0 Answers  


Categories