Hot answers tagged

3

"Optimized out" means the compiler realises the variable isn't necessary, and deletes the variable. For example, this code: void func(void) { int x = 0; int y = 3724832+x; printf("%d\n", y); } might be compiled the same way as: void func(void) { printf("%d\n", 3724832); } or even (if your compiler is smart enough) void func(void) { ...


Only top voted, non community-wiki answers of a minimum length are eligible