For those talking about doing this in C++ which doesn't necessarily support the C99 extensions, then I heartily recommend boost::format. This makes the size_t type size question moot:
std::cout << boost::format("Sizeof(Var) is %d\n") % sizeof(Var);
Since you don't need size specifiers in boost::format, you can just worry about how you want to display the value.