Logo 
Search:

C++ Programming FAQ

Submit Interview FAQ
Home » Interview FAQ » C++ ProgrammingRSS Feeds

Write expression using operator keywords for (a!=b) > (~(a & b)&=(a^b))

  Shared By: Shruti Sharma    Date: Dec 15    Category: C++ Programming    Views: 1190

Answer:

Options

a) (a not_eq b) gt (not( a bitand b) and_eq (a xor b))
b) (a not_eq b) > (compl( a bitand b) and_eq (a xor b))
c) (a not_eq b) gt (not( a bitand b) not_eq (a exor b))
d) (a not_eq b) > (compl( a bitand b) not_eq (a exor b))

Answer : b) (a not_eq b) > (compl( a bitand b) and_eq (a xor b))

Share: 
 



Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].


Tagged: