CP CVDT Q44

  • Option : C
  • Explanation : In C, int x : 4; declares a bit-field named x with a width of four bits when used inside a structure or union. Bit-fields allow integer members to occupy a specified number of bits. Whether a plain int bit-field is signed or unsigned is implementation-defined. This declaration does not define an ordinary standalone integer variable, an array, or a pointer. Therefore, option C is correct.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *