0% found this document useful (0 votes)
44 views

What Do You Mean by Pure Virtual Functions? 5. What Does Extern Mean in A Function Declaration?

This document discusses several key concepts in C++ programming including memory management functions like realloc() and free(), operator overloading, differences between new() and malloc(), pure virtual functions, extern keyword, linking C++ to C, differences between copy constructors and overloaded assignment operators, differences between mutexes and binary semaphores, need for virtual destructors, modifiers and accessors in object oriented programming, this and super keywords, shallow vs deep copying, iterator classes, container classes and common types like lists and maps, and node classes often used to build data structures.

Uploaded by

mohamed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views

What Do You Mean by Pure Virtual Functions? 5. What Does Extern Mean in A Function Declaration?

This document discusses several key concepts in C++ programming including memory management functions like realloc() and free(), operator overloading, differences between new() and malloc(), pure virtual functions, extern keyword, linking C++ to C, differences between copy constructors and overloaded assignment operators, differences between mutexes and binary semaphores, need for virtual destructors, modifiers and accessors in object oriented programming, this and super keywords, shallow vs deep copying, iterator classes, container classes and common types like lists and maps, and node classes often used to build data structures.

Uploaded by

mohamed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

1.

2.
3.
4.
5.
6.
7.

What is the difference between realloc() and free()?


What is function overloading and operator overloading?
Explain differences between eg. new() and malloc()
What do you mean by pure virtual functions?
What does extern mean in a function declaration?
How do you link a C++ program to C functions?
What is the difference between a copy constructor and an
overloaded assignment operator?
8. What is the difference between Mutex and Binary semaphore?
9. What is the need for a Virtual Destructor ?
10.
What is a modifier?
11.
What is an accessor?
12.
This. Keyword and Super Keyword ?
13.
Shallow Copy and Deep Copy ?
14.
What is an Iterator class ?
15.
What is a container class? What are the types of container
classes?
16.
What is a node class

You might also like