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 |
hi friends i am ravi here , i have one problem at starting at the interview that is i have my 3+ it(java) years experiance profile so if i attend the interview interviewer ased me tel me about your profile so i not able to explain because i dont knw where to start and where to end and i dont know what i should tel and what i shouldnot tel .....so can any body please clear m doubts clearly.............please help me friends,i am awaiting for friends reply please.............
what are the differences between CONS, LIST, and APPEND
Why data bus is bidirectional and address bus is unidirectional?
what is difference between scripts, smartforms and adobe forms
what is the use of occurs 10 or (any number) in the internal table declaration with header line.
In staad pro, how can we design ROOF SLAB?
code for connection from windows forms to sql server
7.x=10; y=20; x<<2=? x<<1=? y>>2=?
Write a pseudo code to evaluate a number to any base given (2...16) based on the input. Number greater than 9 should be given as A-F for 10-15.
I've an application where i need to give access to all the features only to admin and only few features to normal users. Say Menu...i dont want all my menu items to be accessible to all the users only the admin people can see few all the features where as normal users can have access to limited menu items...how can i achieve this. Please note that my menu is not a database driven menu.
what is the diffrence between software and hardware language?
In OB52 , How to define two open posting period, Like only 5 and 8 posting should be open.. should not open 6 and 7..period..