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

What is c preprocessor mean?

1274


What is Dynamic memory allocation in C? Name the dynamic allocation functions.

1366


How many types of errors are there in c language? Explain

950


What is a example of a variable?

977


What is array of structure in c?

1132


write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.

3795


What is the correct declaration of main?

1179


When is a void pointer used?

1205


How is a pointer variable declared?

1045


What are the key features in c programming language?

1029


What is 2c dna?

1042


Is null equal to 0 in sql?

1111


What are high level languages like C and FORTRAN also known as?

1139


Do pointers need to be initialized?

1049


Is printf a keyword?

1181