Ask Question
10 August, 14:19

What's the difference between a Boolean function and a Boolean expression?

+4
Answers (1)
  1. 10 August, 16:50
    0
    A boolean function is a function in any programming language whose return type is boolean means a function that returns true or false. For ex:-

    bool func (int a, int b)

    {

    if (a>b)

    return true;

    else

    return false;

    }

    An expression is a combination of one or more variables, constants, operators, function and which is computed and produces a value in case of boolean expression the value that is calculated is either true or false.

    for ex: - bool result = a>b && a>c;
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “What's the difference between a Boolean function and a Boolean expression? ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers