[Logo]
Forums Register Login
operators
Hi,
This is from sun Ed services sample Que's
Which two are equivalent? (Choose two.)
12>4
12/4
12*4
12>>2
12/2^2
12>>>1
Answer is given that 12/4 and 12>>2 are equivalent. Can anybody explain.
Do the math and see if you can figure it out. It is basically saying that the result will be the same.
Bill
in my opinion its 12/4 and 12>>2
because 12 / 4 produces 3 and
12 is 00001100 and when shift produces
00000011
so the result of it is 3 they both produce same result
Hi bill and val,
Thank you very much.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards


This thread has been viewed 610 times.

All times above are in ranch (not your local) time.
The current ranch time is
Dec 17, 2017 18:39:43.