putin9502 putin9502
  • 14-09-2019
  • Computers and Technology
contestada

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

Respuesta :

ExieFansler ExieFansler
  • 17-09-2019

Explanation:

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;

Answer Link

Otras preguntas

What are the first settlers before it was discovered and name as America.
what does the number, or density, of field lines on a source charge indicate?
according to the fundamental theorem of algebra, how many zeros does the polynomial, f(x)=x^3-10x^2+27x-12? do you find it the same way youd find it normally?
what is the benefit of an uneven production of gametes in oogensis?
I need help on the part where it says devonte
which function do you evaluate first in g(f(x))?
what happens when an electron absorbs energy
The amount $2.88 is 9% of what price? A - $25.92 B - $32.00 C - $259.20 D - $320.00
wich is a characteristic of a nation
dog chases a cat in a circle around the base of a tree. if the velocity of the dog is 0.35 m/s and the radius of the circle is 0.75 m, what is the centripetal a