![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions Latest Answer : i think u all guys are assuming wrong. constructors have the same name as its class name. and if we declare constructor as virtual, then it shoud be redefined in its derived class with the same ... How can i overload the subscript operator with more than i dimension? if possible give an example.. pls dont ignore Read Answers (2) | Asked by : murali How can i overload the subscript operator [] with more than 1 dimension.. like [][][].. if possible pls give an example 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 ... For Polymorphism, which technique is a perfect example in C++?1. Function / Operator Overloading2. Virtual Functions3. Template Read Answers (1) | Asked by : muralikannan Is it possible to implement Polymorphism (either compile time / runtime) in “C” ? If yes how? Read Answers (2) | Asked by : muralikannan View Question | Asked by : lucifer Latest Answer : With templates, you do not have to repeat the entire codes for different types. ... Read Answers (2) | Asked by : vishal What is the difference between macro and inline function? Latest Answer : Compiler performs return type checking, function signature before putting inline function into symbol table. But there is no type checking for Macros. So Macros are more error prone as compared to inline functions. ...
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||