MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/teqb37/static_bool_iscrazymurderingrobot_false/i0vcwx2/
r/ProgrammerHumor • u/speckz • Mar 15 '22
257 comments sorted by
View all comments
Show parent comment
5
It's valid C code. But it has bug because of missing =. In C operator a = b return b so if (a = true) set true to a and enter if branch.
3 u/jesp1999 Mar 16 '22 Correct, you understand the joke
3
Correct, you understand the joke
View all comments
Show parent comment
5
u/weregod Mar 16 '22
It's valid C code. But it has bug because of missing =. In C operator a = b return b so if (a = true) set true to a and enter if branch.