Thursday, July 30, 2009

Assuming the following declarations:?

int A=1, B=2, C=3, D=4;





What is the value of the following (Boolean) expression?





C= = D | | B %26gt; A %26amp;%26amp; C





a. 0


b. 1


c. There is a syntax error in the expression


d.There is no error, but the value cannot be determined from the info. given

Assuming the following declarations:?
b





C==D is false


B%26gt;A true


so true %26amp;%26amp; ture = true ie 1
Reply:DO YOUR OWN homework





Read coruse notes


No comments:

Post a Comment