Latest Answer: Depends ,cpp is just like c with advanced (OOPS) features........Still it depends on the complexity of the program ! If we are using many advanced concepts of cpp in the code like inheritance , polymorphism and most importantly virtual functions then ...
Latest Answer: Destructors in C++ need not be called explicitly. The destructor for a class whether one has defined it or not gets called automatically and all objects associated with the class gets destroyed in the order of descending appearance in the class. ...
Is it possible to implement Polymorphism (either compile time / runtime) in “C” ? If yes how?
For Polymorphism, which technique is a perfect example in C++?1. Function / Operator Overloading2. Virtual Functions3. Template
Latest Answer: Both the above methods doesn't meet the purpose. Try thisclass singleton{ private: /*add what ever data members necessary*/ static singleton* obj; singleton() ...
Latest Answer: Enum is not an operator. It is a datatype. Hence it can NOT be overloaded as an operator.You can define operations on enum datatypes and Overload operators for perfoming operations using enum though.If your question is "Overloading Enum", then using operator ...
"Given a MAKEFILE (yeah a makefile), design the data structure that a parser would create and then write code that iterates over that data structure executing commands if needed.
Latest Answer: multiplication is a costly operation,costlier than bit operations.So,it is a better practice to use bit operation that is > for divsion when you are multiplying with a factor of 2 otherwise its not suggested. ...
If static int temp; defined in one file1, then can we use this same temp variable in file 2 ? Is it possible to do this with EXTERN ?
View page << Previous 1 2 3 [4] 5 Next >>

Go Top