Originally Posted by FelixB What happens if you call "function_name_2" before you call "function_name_1"? - BINGO, you'd use an uninitialized variable, as the compiler said... That doesn't even matter, even if function_name_1 is called before function_name_2, var_name is uninitialised.
Originally Posted by tbscope That doesn't even matter, even if function_name_1 is called before function_name_2, var_name is uninitialised. oh, now I see. he redefines "var_name"...
Forum Rules
Bookmarks