Ask Question

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

+3
Answers (1)
  1. 11 April, 03:00
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers