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

Do you think television shows of the 1960s accurately reflected typical Families of that time? Explain.
Where does glycolysis take place in a cell? A. Nucleus B. Mitochondrion C. Cytoplasm D. Cell membrane
linear algebra question?This is a sample question, but I couldn't simplify it,Please give a hand,thx!
What is a line agency
is there a difference between a homogenouos mixture of hydrogen gas and oxygen gas, and a sample of vapor? explain?
what did the British do to make the people of India less opposed to their colonial government in 1935
Which economic activities are most dependent on georgia's climate?
Fill in the blank: A letty y a Jorge, no (blank) las uvas.
Organisms don't need a mate in reproduction. is it asexual or sexual
The Tempeture for last five days was :65,80,74,84,79,72 .whatwas the average tempeture .