main()
{
int a=4,b=2;
a=b<<a + b>>2;
printf("%d", a);
}
Answers were Sorted based on User's Feedback
Answer / vineetha
tell this answer and mail to this id vachika90@gmail.com
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / 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 |
Answer / a.jayashree
ans is=10;
if its wrong give me right ans to jshree20@gmail.com
| Is This Answer Correct ? | 0 Yes | 2 No |
How was c created?
differentiate built-in functions and user – defined functions.
Can we initialize extern variable in c?
Find Error if any in below code, Justify ur answer: struct xx { int a; struct yy { char c; struct xx* p; } struct yy* q; }
int array[]={1,2,3,4,5,6,7,8}; #define SIZE (sizeof(array)/sizeof(int)) main() { if(-1<=SIZE) printf("1"); else printf("2"); }
what is the use of ‘auto’ keyword?
Which is the best website to learn c programming?
Find the O/p of the following 1) #include int main() { char c='1'; int j=atoi(c); }
How can I get back to the interactive keyboard if stdin is redirected?
how write a addtion of two single dimensional array using of pointer in c language?
Difference between Shallow copy and Deep copy?
What is the purpose of realloc()?