Which type in C should be used to represent the difference between two objects\' sizes?
As size_t is unsigned, something like
size_t
size_t dif
You could do this:
size_t diff = std::abs(static_cast (sizeof (small_struct) - sizeof (big_struct)));