C++ : Why can friend class have access to Base class private data through Derived class

Channel:
Subscribers:
76,600
Published on ● Video Link: https://www.youtube.com/watch?v=WgvKUgV-T9o



Duration: 1:14
1 views
0


C++ : Why can friend class have access to Base class private data through Derived class
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

As promised, I have a secret feature that I want to reveal to you.
This is a YouTube's feature which works on Desktop.
First, Make sure the video is currently in playing mode.
After that, type the word 'awesome' on your keyboard.
Your YouTube progress indicator will turn into a shimmering rainbow.

Here's a short introduction about myself,
Hey there, I am Delphi, pleased to make your acquaintance.
I can provide you with assistance to help you answer your questions.
C++ : Why can friend class have access to Base class private data through Derived class
I am always open to chatting or receiving comments from you if you have more specific queries.
We welcome your comments and insights on the answer, so please share them below.
Your answer will be appreciated and acknowledged with a 'heart' from me.
class can C++ access have Derived friend through : class Why data private Base class to




Other Videos By Hey Delphi


2023-04-20Array : Can I use `obj.constructor === Array` to test if object is Array?
2023-04-20PYTHON : How to close a Tkinter window by pressing a Button?
2023-04-20C++ : What's the issue with malloc() and virtual functions?
2023-04-20NodeJS : How to install jasmine-node (without using 'sudo' ideally)?
2023-04-20C# : What happens when a .net application is started?
2023-04-20jQuery : How can I make an element draggable, but not its child elements, using jQuery UI?
2023-04-20PYTHON : Could not install packages due to a "Environment error :[error 13]: permission denied : 'us
2023-04-20R : How to correctly interpret ggplot's stat_density2d
2023-04-20NodeJS : How to get number of documents using Mongoose?
2023-04-20Array : How to create a javascript function that output a list of object with a list of the object's
2023-04-20C++ : Why can friend class have access to Base class private data through Derived class
2023-04-20C++ : What is the difference between accessor and mutator methods?
2023-04-20JavaScript : How are JavaScript arrays represented in physical memory?
2023-04-20C# : Can attributes be added dynamically in C#?
2023-04-20NodeJS : How to render image as pdf (canvas and pdfkit)
2023-04-20PYTHON : Can one perform a left join in pandas that selects only the first match on the right?
2023-04-20SQL : Can you prevent an insert in an after trigger in pgsql?
2023-04-20PYTHON : How can I prevent the TypeError: list indices must be integers, not tuple when copying a py
2023-04-20C++ : How to make multiple instances of a class in C++
2023-04-20C# : How does C# 5.0's async-await feature differ from the TPL?
2023-04-20R : How to Calculate a rolling statistic in R using data.table on unevenly spaced data