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
What is c preprocessor mean?
What is Dynamic memory allocation in C? Name the dynamic allocation functions.
How many types of errors are there in c language? Explain
What is a example of a variable?
What is array of structure in c?
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.
What is the correct declaration of main?
When is a void pointer used?
How is a pointer variable declared?
What are the key features in c programming language?
What is 2c dna?
Is null equal to 0 in sql?
What are high level languages like C and FORTRAN also known as?
Do pointers need to be initialized?
Is printf a keyword?