How static variables and local variablesare similar and dissimilar?


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

Post New Answer

More C++ General Interview Questions

What are inline functions?

2 Answers   Fidelity, Verizon,


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,


Are strings immutable in c++?

0 Answers  


What are the two types of comments, and how do they differ?

0 Answers  


What are enumerations?

0 Answers  






Is c++ a dying language?

0 Answers  


What is ofstream c++?

0 Answers  


Explain Memory Allocation in C/C++ ?

0 Answers   Infosys,


What is the array and initializing arrays in c++?

0 Answers  


What does the linker do?

0 Answers  


Is there structure in c++?

0 Answers  


Is python better than c++?

0 Answers  


Categories