7.x=10;
y=20;
x<<2=?
x<<1=?
y>>2=?
Answer / veerendra kumar
here << means shiftleft operation,>> means shiftright
operations x<<2 means 10<<2--->00001010<<2 take 8 binary
format.shiftleft means moving two places from leftmost to
rightmost i.e 00101000(40 will come),same like that x<<1
means 10<<1--->00001010<<1 after moving 00010100 answear
is:20,y>>2--->00010100>>2 after shiftright operation
00000101 answear is:5
Is This Answer Correct ? | 0 Yes | 0 No |
what is difference between input parameter and output parameter.
how to convert infix expression to prefix expression?
can any one suggestion me present which course(except java,.net) has huge demand in the market?
Data Structure: How many comparisons are necessary to find the largest and smallest of a set of n distinct elements?
what is the diffrence between occur 0 and occur 10 in ABAP.
Write a program to implement BFS/ DFS routine in a connected graph
what is log files in qtp what is use
What Is The Difeerence Between C & C++
What do you meant by Runtime Polymorphism?
what is mutex?
4 Answers Axiom, Blue Star, SQL Star,
write a sql qwery which include joining of two tables 4 marks mainframe
What is dialog programming?