Compound condition in C: if (0.0 < a < 1.0)

后端 未结 4 2054
忘掉有多难
忘掉有多难 2020-12-04 02:31

I recently noticed that the following expression compiles in my compiler (Clang):

float a;
if (0.0 < a < 1.0) { ... }

Does this do wh

4条回答
提交回复
热议问题