Answer the following questions true (T) or false (F)

1. The functions or data members declared in the private: section of a class can be accessed only in the definition those functions declared in that class. Note that friend functions are also declared (but not defined) in the class to which they are friends, so they also have access to private as well as public members.

2. The set of integers ranging from -MAXINT to MAXINT make up the int data type.

1. True
Explanation: Access to members declared in the private: section of a class, function or data, is granted to those functions declared anywhere in that class, public as well as private functions. Those denied access are functions declared anywhere else.
2. False
Explanation: A data type has two parts. One, the set of values, two the set of operations.

Computer Science & Information Technology

You might also like to view...

Design view shows all the records and fields at one time, which is one advantage to using it to update your records

Indicate whether the statement is true or false

Computer Science & Information Technology

?Suppose you are the president of the newly formed Business Students Club at your university. As the first step in strategic planning, you will create the _______.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology