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 / sanjay bhosale

statement a=b<<a + b>>2;
will be treated as
a=(b<<(a+b))>>2;

and gives output 32.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of using Unions?

1069


What is the significance of an algorithm to C programming?

1001


What is a double c?

943


How main function is called in c?

1076


Why is c so powerful?

1067


Do you know the difference between exit() and _exit() function in c?

1018


What is string in c language?

1077


What is the size of empty structure in c?

1020


What is the data segment that is followed by c?

1034


What is the scope of global variable in c?

957


Why c is a mother language?

967


What is the use of function overloading in C?

1104


How can I trap or ignore keyboard interrupts like control-c?

1023


Can we change the value of constant variable in c?

1008


What is use of #include in c?

1091