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...

main()
{
int a=4,b=2;
a=b<<a + b>>2;
printf("%d", a);
}

Answer Posted / alamuru sreenivasa reddy

2<<4 that means 2 is left shifted by 4 times. then we will get 0010 0000=32 in decimal form. similarly 1>>2 means that is right shifted 2 times we will get 0000 0000=0.. so 0+32=32
i.e answer

Is This Answer Correct ?    24 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How macro execution is faster than function ?

1250


Stimulate calculator using Switch-case-default statement for two numbers

3041


Explain high-order and low-order bytes.

1171


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1784


What are the types of data files?

1253


Is fortran faster than c?

1082


What is page thrashing?

1148


What is the difference between constant pointer and constant variable?

1280


Is there a way to compare two structure variables?

1172


illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

2132


What is c preprocessor mean?

1374


What are the types of i/o functions?

1420


What are the advantages of c language?

1152


What is the use of c language in real life?

1070


Write a program to identify if a given binary tree is balanced or not.

1234