Latest Answer: "Postincrement is usually less efficient than preincrement because it has to remember & return its original value"That is, apart from also doing the increment operation, Postincrement has to remember & return its original value.Exceptional ...
Latest Answer: The mutable keyword overrides any enclosing const statement. A mutable member of a const object can be modified. The const keyword can be used to tell the compiler that a certain variable should not be modified once it has been initialized. ...
Latest Answer: typedef enum {read,blue,green}color; void main() { color a = 1; // Error in C++} ...
Latest Answer: When classes are inherited, we need to make the base class destructor virtual – to make sure when the object is destroyed, all the derived class destructors also called. Otherwise the derived class destructors are not called because the there is compile ...
Latest Answer: Hi In My opinion there is no such concept In C++ But some says Can anyone tell mehow is it possible??? ...
Latest Answer: Sequence Containers- deque- list- vectorAssociative Containers- map (multimap)- set (multiset)Container Adapters- priority_queue- queue- stack ...
Latest Answer: Hi friends, There are 5 kind of storage classes auto - : like int extern-: used by other class or programm static -: retain the value through out the executionof the programm register-: First memory storage.Secquence ...
Latest Answer: It's not trivial to implement nested functions such that they have the proper access to local variables in the containing function(s), so they were deliberately left out of C as a simplification. (gcc does allow them, as an extension.) For many ...
Latest Answer: The basic difference in C and C++ structures is :1) In C , default access for structure members is public2) In C++ , defaulot access for structres is private ...
Latest Answer: That's upcasting.. not association. ...
View page << Previous 4 5 6 7 [8] 9 10 11 12 13 Next >>

Go Top