C++ How to Program (10th Edition)
C++ How to Program (10th Edition)
10th Edition
ISBN: 9780134448237
Author: Paul J. Deitel, Harvey Deitel
Publisher: PEARSON
bartleby

Concept explainers

Question
Book Icon
Chapter 3, Problem 3.6E
To determine

Program Plan:

Data Members: Data members of the class are the variable defined which class object use to accomplish the task. They can be both private and public. They can be any data type, classes or pointers. Private data members can only be accessed from inside the class, whereas public data members can be accessed from outside of class.

Blurred answer
Students have asked these similar questions
Explain the Pointers and Function Return Values with example.
Can you explain the three data structures?
State if true or false: Dynamic binding with virtual functions occurs only with pointers and references
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr