answersLogoWhite

0

In class default members are private and in structure default members are public ,When ever you want to hide data from outside functions then you can use class.But in ANSI C we can hide data by using private access specifier.

User Avatar

Wiki User

20y ago

What else can I help you with?

Related Questions

How can the phrase class structure be used in a sentence?

The class structure of First Grade contained 18 girls and 19 boys.In a culture, class structure often keeps poor or uneducated persons from moving into a higher social class.


What is a class diagram used for in software engineering?

In software engineering, a class diagram is used for describing the structure of a system by showing classes, attributes, operations, and relationships.


What showed the democratic mood of the frontier?

the decline of class structure.


How does Christianity justify this class structure and what is the social value of these relationships?

First tell us what 'this' class structure and "these" relationships are.


Wt is the different between structure and class?

A structure is a different from a class in the sense that a class can represent data elements as well as their associated functions whereas a structure can represent only data elements,, not their associated functions.


Describe the class structure and gender relations in classical china?

The gender relations & class structure in classical China was that women worshipped their men and/or husbands and the class-more.


What is mesopotamia's class structure?

monarchy


What are the four variables Gilbert and Kahl used to develop a six-class model to reflect the class structure of the US and other capitalist countries?

Education, power, property, prestige


What are four variables Gilbert and kahl used to develop a six-class model to reflect the class structure of the US and other capitalist countries?

Education, power, property, prestige


Which class includes an unsaturated hydrocarbon with a ring structure?

The class of aromatic hydrocarbons


Class structure and job-related income what is the relationship between them?

class structure is time being process while job is a permanent process


What is a class structure?

they gained independent for starters.