Why is the ternary operator returning 0?

前端 未结 0 845
名媛妹妹
名媛妹妹 2021-01-25 04:34

Why does the following code have \'0\' as output?

#include 

int main() {
    int max = 5;
    std::cout << (false) ? "impossible&         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题