In C++ a. What is the main difference between a struct and a class? b. Explain why
Fantastic news! We've Found the answer you've been seeking!
Question:
In C++
a. What is the main difference between a struct and a class?
b. Explain why you would need both public and private members in aclass.
c. What is a constructor? Why would you include a constructor in aclass?
Related Book For
Business Intelligence and Analytics Systems for Decision Support
ISBN: 978-0133050905
10th Edition
Authors: Ramesh Sharda, Dursun Delen, Efraim Turban
Posted Date: