I have a doubt regarding the concept of encapsulation.
Isn't C language also does the encapsulation by 'struct
' data type?
the data variables and the functions present in the struct can only be called by the struct variable. and no other variable in the system. Isn't it data hiding?
I am trying to relate this concept to understand C++ encapsulation.