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=?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1856


how to data grid use in data bind?

1977


If i have a dataset queried from Sql and I would like to insert the dataset into a specific node in an xml document how do I do this

2086


What is WEB 3.0? What are the features their in WEB3.0

2099


I am looking for selenium RC online Training in chennai. can any one tell me the best institute

1940


what is diff bet ref variable & instance of class

1959


how can i create report in abap to insert data in table pa0002 using insert command

2169


1. Write a program to create a sentence at runtime and count number of vowels in it ? 2. Write a program to get a string and to convert the 1st letter of it to uppercase ?

3647


what is programmable BIST in today ic design

2110


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 ?

1930


what is difference between kpo and it industry? that is in terms of work, package etc

1955


can any method return type may be constructor , or that method name allow

2050


can we extend a class having only one parameterised constructor.Suggest the process to do it.

2478


1) How can u create the table?

1832


How to create a new dataset only duplicate observations in proc sort procedure?

1981