Given that i=4, j=5, k=4, what will be the result of expressions.

Q12. Given that i=4, j=5, k=4, what will be the result of following expressions?

  1. i<k
  2. i<j
  3. i<=k
  4. i==j
  5. i==k
  6. j>k
  7. j>=i
  8. j!=i
  9. j!=k
  10. j<=k

Ans.(1). False.

Ans.(2). True.

Ans.(3). True.

Ans.(4). False.

Ans.(5). True.

Ans.(6). True.

Ans.(7). True.

Ans.(8). True.

Ans.(9). True.

Ans.(10). False.

Leave a Reply

Your email address will not be published. Required fields are marked *

420 Views
%d bloggers like this: