Question:What will be output for the following javascript code:
<script>
var alpha=0xdead;
var beta=0xbeef;
var gamma=(alpha+beta).toString(10);
document.write(gamma);
</script>
 

A 105884 

B Syntax error 

C 0xdead0xbeef 

D gamma 

+ Answer
+ Report
Total Preview: 871

Copyright © 2024. Powered by Intellect Software Ltd