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 / sandeep kumar

Both shift operator has same precedence but associativity left to right so first calculate b>>2=0 then calculate b<<4=32 then add the both result

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain what are actual arguments?

1069


Can a variable be both static and volatile in c?

1017


What is difference between function overloading and operator overloading?

1074


Explain setjmp()?

1057


What is logical error?

1100


can we implement multi-threads in c.

1118


what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

2363


Why should I use standard library functions instead of writing my own?

1245


What is the difference between struct and typedef struct in c?

1114


What is difference between structure and union in c?

975


What is the newline escape sequence?

1062


What is clrscr ()?

1096


Difference between pass by reference and pass by value?

1137


What is derived datatype in c?

1071


Explain argument and its types.

1048