What are ways to avoid memory leaks? - A memory leak is the effect of running out of memory....
|
Difference between dynamic and static casting - static_cast are used in two cases:1) for implicit casts that the compiler would make automatically anyway (bool to int) 2) as a mandatory forced cast (float to int)....
|
Describe static and dynamic binding of functions - By default, matching of function call with the correct function definition happens at compile time......
|
What are pure virtual functions? - Pure virtual functions are also called ‘do nothing functions’...
|