main()
{
int a=4,b=2;
a=b<<a + b>>2;
printf("%d", a);
}
Answer Posted / manish soni tagore collage jai
b<<a=2<<4=32;
and
b>>2=1>>2=0
so
32+0=32
| Is This Answer Correct ? | 47 Yes | 5 No |
Post New Answer View All Answers
What are header files why are they important?
Tell us two differences between new () and malloc ()?
Do you know the difference between malloc() and calloc() function?
What is a global variable in c?
What is main () in c language?
What does sizeof return c?
Explain what is the use of a semicolon (;) at the end of every program statement?
What are the 3 types of structures?
Differentiate between a for loop and a while loop? What are it uses?
What is the right way to use errno?
Why c is a procedural language?
What is the difference between the expression “++a” and “a++”?
What are the advantages and disadvantages of c language?
Does c have an equivalent to pascals with statement?
write a c program to find the sum of five entered numbers using an array named number