Question:What will be output for the following JavaScript bitwise operation?
a=1
b=1
c=0
d=0

document.write(a^b);
document.write(",");
document.write(a^c);
document.write(",");
document.write(c^d);
 

A 0,1,0 

B 1,0,1 

C 1,1,1 

D 0,0,0 

+ Answer
+ Report
Total Preview: 348

Copyright © 2024. Powered by Intellect Software Ltd