This article focuses on clang and gcc, but note that MSVC&#x27;s printf functions do not support %zu (or %zd) for size_t. MSVC uses %Iu. There is no standard &quot;PRIuSIZE&quot; macro for size_t, but Mozilla defines a polyfill for Firefox:<p><a href="https:&#x2F;&#x2F;hg.mozilla.org&#x2F;mozilla-central&#x2F;file&#x2F;tip&#x2F;mfbt&#x2F;SizePrintfMacros.h" rel="nofollow">https:&#x2F;&#x2F;hg.mozilla.org&#x2F;mozilla-central&#x2F;file&#x2F;tip&#x2F;mfbt&#x2F;SizePri...</a>