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
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
What is the stack in c?
What are dangling pointers? How are dangling pointers different from memory leaks?
What are the 4 data types?
Explain how can I remove the trailing spaces from a string?
Where does the name "C" come from, anyway?
Is boolean a datatype in c?
What is a wrapper function in c?
State two uses of pointers in C?
What is meant by keywords in c?
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
What does c mean?
When should structures be passed by values or by references?
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?
How we can insert comments in a c program?