diff --git a/ex7.c b/ex7.c index 074acc6..b6e9cfe 100644 --- a/ex7.c +++ b/ex7.c @@ -20,7 +20,7 @@ int main(int argc, char *argv[]) printf("That is only a %e portion of the universe.\n", part_of_universe); - + // this makes no sense, just a demo of something weird char nul_byte = '\0'; int care_percentage = bugs * nul_byte; printf("Which means you should care %d%%.\n", diff --git a/ex8.c b/ex8.c index b7efc4b..0b42543 100644 --- a/ex8.c +++ b/ex8.c @@ -10,6 +10,8 @@ int main(int argc, char *argv[]) 'S', 'h', 'a', 'w', '\0' }; + // WARNING: On some systems you may have to change the + // %ld in this code to a %u since it will use unsigned ints printf("The size of an int: %ld\n", sizeof(int)); printf("The size of areas (int[]): %ld\n", sizeof(areas));