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 |
Explain recursion with an example.
what is the abap/4
will it allow to add same value in HashMap class.
if heap sort contains n elements, no of comparsions required are
Tag for turning an image into a hyperlink is
How to swap values between two variables without using a third variable?
24 Answers HCL, TCS,
how can we get version of database ?
What is web.configuration? how is it work? & wht is use this?
In Java what is the difference between following two statements ? int a[],b; int []a,b;
code for connection from windows forms to sql server
What is %Type,%Rowtype?
You are given a dictionary of all valid words. You have the following 3 operations permitted on a word: delete a character, insert a character, replace a character. Now given two words - word1 and word2 - find the minimum number of steps required to convert word1 to word2. (one operation counts as 1 step.)