Instances of classes are called objects, but is there a certain name for instances of structs?
Having the separate terms "class" and "object" is useful to distinguish between the class and the instance of the class, but I've only ever heard of the single term "struct" to refer to either the struct or the instance of the struct (depending on context).
Instances of structs, classes, ints, unions, floats etc. are all objects.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With