The expression a << 6 shifts all bits of a six places to the left. If a Ox6db7, then what is the value of a << 6
A. | 0xa72b |
B. | 0xa2b |
C. | 0x6dc0 |
D. | 0x1111 |
Option: C Explanation : Click on Discuss to view users comments. |
The expression 5 - 2 - 3 * 5 - 2 will evaluate to 18, if - is left associative and
A. | * has precedence over * |
B. | * has precedence over - |
C. | - has precedence over * |
D. | - has precedence over - |
Option: C Explanation : Click on Discuss to view users comments. |
Coercion
A. | Takes place across an assignment operator |
B. | takes place if an operator has operands of different data types |
C. | means casting |
D. | both (a) & (b) |
Option: D Explanation : Coercion is the automatic conversion between compatible types and it is done by compiler Click on Discuss to view users comments. |
Syllabus Covered in this section is
This Section covers Multiple Choice Questions Answers in C Programming . Here questions answers are given with explanation and references. These questions can be used for the preparation of various competitive and academic exams.
Who can benefit -
Various Search Terms used for this section are