Given that I'm trying to acquire the information of the size of this struct:
Logically thinking, it should be the size of 2 ints. However, when I checked in the debugger, it gives me a value of 0 when checking its size using sizeof(). Is this normal, or is there something wrong with how I used the struct to get a sizeof = 0?Code:struct Point2D {int x,y;};
Thanks.