Welcome Guest | Sign in | Register
Operators - Discussion Page For Q.10676 | C Programming Questions and Answers | C Programming Free Online-Tests | LucentBlackBoard | LucentBlackBoard.com

Home > Java Programming > Operators > Questions and Answers

Q: Suppose a,b,c are integer variables with values 5,6,7 respectively.What is the value of the expression:
!((b+c)>(a+10))
A. 1 B. 6
C. 15 D. 0

Answer and Explanation

Answer:1

Explanation:
1.!((b+c)>(a+10))
2. !((6 + 7) > (5+10))
3. !(13 > 15) 13 is less than 15 so it will return False (0 ).
4. !(0). Not of 0 is 1.

Comment on this Question

Name:

Loading...




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.