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 / vignya

size of integer is 8 bits
a=0000 0100, b=0000 0010;
b>>2 becomes 0000 0000 and b<<a becomes 0010 0000
on whole a= 0010 0000+ 0000 0000=0010 0000 =32

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between function overloading and operator overloading?

1098


What is bin sh c?

1051


What is the use of extern in c?

1100


Define the scope of static variables.

1141


What is an array? What the different types of arrays in c?

1195


Explain how can type-insensitive macros be created?

1004


Why is structure padding done in c?

1141


Explain how do you override a defined macro?

1085


What is graph in c?

1068


Explain the difference between malloc() and calloc() function?

1061


Hai what is the different types of versions and their differences

1948


Explain what is #line used for?

1081


What is the difference between declaring a variable and defining a variable?

1292


Describe the header file and its usage in c programming?

1081


What is selection sort in c?

1111