0
我認爲這兩個if
語句的結果是總是相同評估一個if語句的行爲不同,然後評估布爾表達式
BOOL tmp = (expression);
if (expression) {
}
if (tmp) {
}
但這裏 Why is 0xF00 interpreted as NO, when the dec is not 0
發現檢查時喜歡針對0xF00
指針,這可能並非總是如此...
如何評估if
表達式的行爲有所不同?