[Solved] What is “{ x = a; y = b; }” doing in this incialization? [closed]
{ x = a; y = b; } is the compound statement of the constructor point( int a = 0, int b = 0 ); Maybe it will be more clear if to rewrite the constructor like point( int a = 0, int b = 0 ) { x = a; y = b; } … Read more