Has TRUE always had a non-zero value?

前端 未结 22 1044
予麋鹿
予麋鹿 2020-12-31 01:38

I have a co-worker that maintains that TRUE used to be defined as 0 and all other values were FALSE. I could swear that every language I\'ve worked with, if you could even

22条回答
  •  猫巷女王i
    2020-12-31 02:05

    In languages like C there was no boolean value so you had to define your own. Could they have worked on a non-standard BOOL overrides?

提交回复
热议问题