if statement integer

后端 未结 3 1810
借酒劲吻你
借酒劲吻你 2020-12-14 01:23

I think this is a simple question, but I\'m struggling with the following. In my example I have the following statement (language is C):

int foobar

if (fooba         


        
3条回答
  •  借酒劲吻你
    2020-12-14 01:53

    same, the

    if (foobar) 
    

    means foobar not zero so whether it is positive or negative doesn't matter, it is still not zero

提交回复
热议问题