+ 1
Size of empty class with diamond problem
As far as k know, empty class must have size as 1 so that object do not refer to same memory location... Why empty class size is 2 in case of diamond problem...? refer below code to verify size of class as 2: https://code.sololearn.com/cGtKbwpeAw7L/?ref=app
2 ответов
+ 1
thanks Kinshuk Vasisht