New course! Every coder should learn Generative AI!
Try a free lesson+ 1
What's the main difference between structure and class?
2 Answers
+ 1
structure is collection of variable user single name .class is the collection of data members and functions .datamember->variable