I'll get to the point. What is the advantage of using a struct instead of a class? The only difference is that classes can have private variables....correct?
Also, I'm sort of confused as to how pointers work. I know how the "&" reference symbol works. For example...
Do var and *var have two seperate values? Like two completely seperate variables?....I'm confused.Code:int var = 1; var* = 2;