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 |
How to use string functions in QTP?give some examples
In an customer exit (include Z) program, only the last record is getting fetched. The exit is getting called after pressing save button. What to write for fetching the first record ? Before saved to a SAP table how can i call all these records in an itab in the exit ?
What is the difference between DECISION COVERAGE(DC) and MODIFIED CONDITION/DECISION COVERAGE(MCDC)?
any drawback are there in mantis?
When you?re running a component within ASP.NET, what process is it running within on Windows XP? Windows 2000? Windows 2003?
1. Consider the following code in our example assembly language: ; an example bit of assembly code ROOT: W FATHER FATHER: W SON1 W SON2 SON1: W NIL W NIL ; ---------------------- SON2: W GRANDSON W NIL GRANDSON: W NIL W NIL NIL = 0 Assemble this code carefully following the two pass model, and show the symbol table at the point marked by the dashed line during each pass.
how CLR identify vb file?
Busy waiting is a method whereas a taskwaits for a given event by continiously checking for an event to occur. What is the main problem with this approach
how many types of operating system are avaliable?
differences between qtp10.0 and 11.0 ?
what is the draw back of Power builder
how many keywords are present in "c"?
18 Answers Assurgent, Cynosure Software, IBM,