About 35,400 results
Open links in new tab
  1. Boolean data type - Wikipedia

    George Boole, the data type's namesake In computer science, the Boolean (sometimes shortened to Bool) is a data type that has one of two possible values (usually denoted true and false) which is …

  2. bool in C - GeeksforGeeks

    Jan 10, 2025 · The bool in C is a fundamental data type in most that can hold one of two values: true or false. It is used to represent logical values and is commonly used in programming to control the flow …

  3. C data types - Wikipedia

    The C language provides the four basic arithmetic type specifiers char, int, float and double (as well as the Boolean type bool), and the modifiers signed, unsigned, short, and long. The following table lists …

  4. Boolean logical operators - AND, OR, NOT, XOR

    Jan 24, 2026 · For bool? operands, the & (logical AND) and | (logical OR) operators support three-valued logic as follows: The & operator returns true only if both its operands evaluate to true. If either …

  5. bool type - C# reference | Microsoft Learn

    Jan 20, 2026 · The bool type keyword is an alias for the .NET System.Boolean structure type that represents a Boolean value, which can be either true or false. The C# language reference …

  6. What Is a Boolean? - Computer Hope

    Jun 1, 2025 · Tip Boolean is pronounced BOOL-ee-an. The word "Boolean" should only be capitalized in reference to Boolean logic or Boolean algebra. With the data type in computer programming, the …

  7. C++ keyword: bool - cppreference.com

    Usage bool type: as the declaration of the type See also Fundamental types: void, std::nullptr_t(since C++11). Integral types: int. Modifiers: signed, unsigned, short ...

  8. What's the difference between "bool" and "bool?"?

    Oct 5, 2016 · bool is a value type, this means that it cannot be null, so the Nullable type basically allows you to wrap value types, and being able to assign null to them. bool? can contain three different …

  9. Boolean Data Type - GeeksforGeeks

    Nov 4, 2025 · The Boolean data type represents logical values - True (1) or False (0) - and typically occupies 1 byte of memory. Any non-zero value is treated as True, while 0 is False. Booleans are …

  10. BOOL Definition & Meaning - Merriam-Webster

    The meaning of BOOL is dialectal variant of bowl.