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 |
HTML is a subset of
I want Ada programming language books. Could anyone post me any link for that?
what is web service in java? have u use before.
what is class module in vb6? what it's use? with example..
they asked me about srs (software requirement specifcation)? how can i get anydocumentation about srs & other documnts infomation like bdd, in testing? its urgent?
how CLR identify vb file?
How to rename A1-A30 datasets into B1-B30 using macros?
can we extend a class having only one parameterised constructor.Suggest the process to do it.
What are the limitation in using querystring in .net?
What is meant byStatic Variable ?
I would like to know what is Intellimatch and some interview questions which could be asked related to Intellimatch.
Q1.Write a C program which asks the user for a number between 1 to 9 and shows the number. If the user inputs a number out of the specified range, the program should show an error and prompt the user for a valid input.