Computer Science, asked by ranjananautiya9414, 11 months ago

When 'struct' is used instead of the keyword 'class' what will happen in the program?

Answers

Answered by nitish8089
0
the difference between struct and class is..

struct::: the default specified (data member and data member function) are public you can use outside of struct... the data memeber and data-member function...

class:: the default specified (data member and data member function) are private we can not use outside of class... the data memeber and data-member function...
Similar questions