• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 1
https://stackoverflow.com/questions/1921539/using-boolean-values-in-c That's a good explaination of how to implement them. In short, C doesn't have a native "bool" type, so it will return a number. 0 is false, ANY other number is true.
13th Jun 2019, 7:53 AM
Jackson O’Donnell

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Why the output is skipping the first 0 index and starting from 1 when I put the iteration out the for loop?
0 Votes
What is machine learning?
1 Votes
JavaScript
1 Votes
How we get hearts
0 Votes
Please how to get a heart
0 Votes
Question!
0 Votes
Which language to start with?
0 Votes
how do they start the code with the pyhton language
0 Votes
how do we do this code?
0 Votes
Where do I start if I’m trying to build a complex AI?
0 Votes