The class in C++ contains:

The class in C++ contains:

  1. a) data only
  2. b) function only
  3. c) data and function both
  4. d) None of the above

From the BCS Technical Cadre (ICT) October 2025 – 49th BCS Written (Special) (BPSC) exam, question 40 of 106.

More from this paper