Ask Question

A public variable declared in class ABC CAN be accessed:

a. From a member function of class ABC?

A. true

B. false

b. From a member function of a child class of ABC?

A. true

B. false

c. From a friend function of class ABC, accessed using the dot operator?

A. true

B. false

d. From a member function of a friend class of ABC, accessed using the dot operator?

A. true

B. false

e. From an otherwise unrelated class that declares ABC to be its' friend, accessed using the dot operator?

A. true

B. false

f. From main, accessed using the dot operator?

A. true

B. false

+3
Answers (1)
  1. 18 October, 14:01
    0
    A. True;

    B. True

    C. True

    D. False

    E. True

    F. False
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “A public variable declared in class ABC CAN be accessed: a. From a member function of class ABC? A. true B. false b. From a member function ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers