Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


7.x=10;
y=20;
x<<2=?
x<<1=?
y>>2=?



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

Post New Answer

More Programming Languages AllOther Interview Questions

how we can call xml file in java file using Android platform?

2 Answers   TCS,


WHat is execution in manual testing and when will we start execution and what language we use in execution

0 Answers  


whats the use of following Good Coding Practices?

2 Answers  


how to display xisheet in list box in c# .net

0 Answers  


I would like to know what is Intellimatch and some interview questions which could be asked related to Intellimatch.

3 Answers  


differences between qtp10.0 and 11.0 ?

0 Answers  


what is inprocess and outprocess in vb

1 Answers   Msoft,


What is the difference between windows 98/2000/XP Operating Systems?

16 Answers   CMS, Siemens, TCS,


How to print a name "ARCHANA" in any programming language

6 Answers   Value Labs,


what are partial classes. Where is the entry point of partial classes.

1 Answers   Satyam,


i need informatica certification dumps(S-powercenter 8 mapping designer)......plz fwd it to my mail id:gaya1989@yahoo.com

1 Answers  


hi all, i need ur help in preparing a sql which performs scd2, i mean i have a scd2 mapping i need a sql which can give me same result as scd2 mapping, SRC table: cust_no, loc 01 abc 02 xyz TGT table: pm_ky cust_no loc current_flag 1 01 abc Y 2 02 xyz Y cust 1 has changed his loc to xyz then it loads into TGT table as below, pm_ky cust_no loc current_flag 1 01 abc N 2 02 xyz Y 3 01 xyz Y i need sql to get the above result, hope got me question, Any suggestion will be appreciate.. thanks, Vinod

0 Answers  


Categories