MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/foundtheprogrammer/comments/ktjdfr/found_one_in_rmemes/
r/foundtheprogrammer • u/kingteena • Jan 09 '21
9 comments sorted by
17
But is yes 1 or -1? Or maybe 0, if you're into shell scripting...
6 u/kingteena Jan 09 '21 hmm good question.... I prefer 1 2 u/twoturtlesinatank Jan 10 '21 The correct answer for this question was actually 2, which is neither 1 or 0. 1 u/kingteena Jan 10 '21 explain? 15 u/jeroen1602 Jan 09 '21 In C 0 is false and anything else is true 4 u/SirFireball Jan 10 '21 Same in JavaScript. The string “no” evaluates to true.
6
hmm good question.... I prefer 1
2 u/twoturtlesinatank Jan 10 '21 The correct answer for this question was actually 2, which is neither 1 or 0. 1 u/kingteena Jan 10 '21 explain?
2
The correct answer for this question was actually 2, which is neither 1 or 0.
1 u/kingteena Jan 10 '21 explain?
1
explain?
15
In C 0 is false and anything else is true
4 u/SirFireball Jan 10 '21 Same in JavaScript. The string “no” evaluates to true.
4
Same in JavaScript. The string “no” evaluates to true.
3
This reminds me when I took a french test on GForms because of covid and the same error was there. I legit wrote the answer in binary (following ASCII standard).
1 u/matyklug Jun 30 '22 Should've written it in UTF-16 and watch as it spits out Chinese
Should've written it in UTF-16 and watch as it spits out Chinese
Hey, nice job making a submission! Just remember to use a unique post title next time, as detailed in this post.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
17
u/ekolis Jan 09 '21
But is yes 1 or -1? Or maybe 0, if you're into shell scripting...
3
u/Cristagolem Jun 07 '21
This reminds me when I took a french test on GForms because of covid and the same error was there. I legit wrote the answer in binary (following ASCII standard).
1
u/AutoModerator Jan 09 '21
Hey, nice job making a submission! Just remember to use a unique post title next time, as detailed in this post.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.