Ask Question
Yesterday, 22:56

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

+2
Answers (1)
  1. Today, 02:19
    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?
Get an answer to your question ✅ “What's the difference between a Boolean function and a Boolean expression? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers