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

Please hurry!!! True or false? In a chemical reaction, energy may be gained or lost but the atoms stay the same
What time period do the "Foundational Documents” come from?
The orchestra required in order to perform The Rite of Spring is: A. smaller than usual. B. larger than usual. c. about average. D. None of the above
Why are the Caribbean islands a tourist attraction
7 times the quantity of 3 times a number reduced by 10
Deep loss of skin into the dermis. O a) crusts O b) wheals O c) macules O d) pustules O e) papules O f) ulcer O g) vesicles
how do number and gender affect adjectives in Spanish. write your answer in english
What was the religion that John Calvin made?
58z-8=56z+11 What’s z
Round the following to the highest place value and find the estimated product. 8 x 7342