/EasilyConfusedCode.c Secret
Created
August 29, 2017 07:28
很容易造成錯誤的程式碼
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//what's difference between FunA() and FunB()? | |
void FunA(void) | |
{ | |
if (condition_one) | |
if (condition_two) | |
foo(); | |
else | |
bar(); | |
} | |
void FunB(void) | |
{ | |
if (condition_one) | |
if (condition_two) | |
foo(); | |
else | |
bar(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment