Question:- What is thedifference between"overloading"and"overriding"? Answer:- o Overloading a method (or function) inC++is the ability for functions of the same name to be defined as long as these methods have different ...
Question:-Difference betweenrealloc() and free()? Answer:- Realloc () function used to expands the existing allocated memory ,if it finds enough continues memory location that are required, if enough continues memory are not available ...
Question:- What is thedifference betweena pointer and a reference? Answer:- o The reference is similar to a pointer, but should be initialized at the declaration and cannot be pointed to any other object in the future. ...
Question:-What is thedifference betweena pointer and a reference? Answer:- A reference must always refer to some object and, therefore, must always be initialized; pointers do not have such restrictions. A pointer can be reassigned to ...
Question:-What are thedifferences betweenaC++struct andC++class? Answer:- The default member and base class access specifiers are different. TheC++struct has all the features of the class. The onlydifferencesare that a struct ...