main()
{
int a=4,b=2;
a=b<<a + b>>2;
printf("%d", a);
}
Answer Posted / abhishek ranjan
32
| Is This Answer Correct ? | 37 Yes | 3 No |
Post New Answer View All Answers
What is extern c used for?
Explain is it better to bitshift a value than to multiply by 2?
how can use subset in c program and give more example
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
Why do we need volatile in c?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
what is the basis for selection of arrays or pointers as data structure in a program
What are formal parameters?
What is %d called in c?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
What is pointer & why it is used?
What are the data types present in c?
How can I handle floating-point exceptions gracefully?
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none