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
Write a program to print numbers from 1 to 100 without using loop in c?
code for quick sort?
Why are all header files not declared in every c program?
What is a memory leak? How to avoid it?
What does a function declared as pascal do differently?
What are the advantages of the functions?
What is 02d in c?
What is optimization in c?
How can you determine the maximum value that a numeric variable can hold?
What are the different file extensions involved when programming in C?
Explain the difference between malloc() and calloc() function?
What is enumerated data type in c?
Is a house a shell structure?
What is the use of putchar function?
What is the explanation for cyclic nature of data types in c?