0 votes 0 votes A struct is the same as a class except that (A) there are no member functions. (B) all members are public. (C) cannot be used in inheritance hierarchy. (D) it does have a this pointer Sanjay Sharma asked Feb 26, 2017 Sanjay Sharma 17.0k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 1 votes 1 votes Option B is correct since, by default, all members of a struct are public whereas in a class, by default, all members are private. Bongbirdie answered Mar 1, 2017 • selected Mar 1, 2017 by Sanjay Sharma Bongbirdie comment Share Follow See all 0 reply Please log in or register to add a comment.