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
How macro execution is faster than function ?
Stimulate calculator using Switch-case-default statement for two numbers
Explain high-order and low-order bytes.
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
What are the types of data files?
Is fortran faster than c?
What is page thrashing?
What is the difference between constant pointer and constant variable?
Is there a way to compare two structure variables?
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
What is c preprocessor mean?
What are the types of i/o functions?
What are the advantages of c language?
What is the use of c language in real life?
Write a program to identify if a given binary tree is balanced or not.