From c4c8c02df970c028bd96f2e133a8bf76d5811fc5 Mon Sep 17 00:00:00 2001 From: mhauserr Date: Wed, 21 Aug 2013 00:02:33 +0100 Subject: Added explanation of size_t --- c.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c.html.markdown b/c.html.markdown index ae66fa78..3acf1a4d 100644 --- a/c.html.markdown +++ b/c.html.markdown @@ -81,7 +81,7 @@ int main() { // is not evaluated (except VLAs (see below)). // The value it yields in this case is a compile-time constant. int a = 1; - // size_t is an unsiged integer type of at least 2 bytes used to represent the size of an object + // size_t is an unsiged integer type of at least 2 bytes used to represent the size of an object. size_t size = sizeof(a++); // a++ is not evaluated printf("sizeof(a++) = %zu where a = %d\n", size, a); // prints "sizeof(a++) = 4 where a = 1" (on a 32-bit architecture) -- cgit v1.2.3