adplus-dvertising
frame-decoration

Question

The declaration int x : 4;
means

a.

x is a four digit integer

b.

x cannot be greater than a four digit integer

c.

x is a four-bit integer

d.

none of the above

Answer: (c).x is a four-bit integer

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The declaration int x : 4; means

Similar Questions

Discover Related MCQs

Q. Bit-fields will he accommodated in a word

Q. Choose the correct statement.

Q. The use of macro in the place of functions

Q. The process of transforming one bit pattern into another by bit-wise operations is called

Q. How many bits are absolutely necessary to store an ASCII character?

Q. If 7 bits are used to store a character, the percentage reduction of needed storage will be

Q. How many bits are absolutely necessary to store an ASCII character ?

Q. a << 1 is equivalent to

Q. Assume an unsigned integer occupies 1 byte. Let myVar be an unsigned integer. Then myVar « 1 multiplies myVar by 2 if it is not greater than

Q. In a certain machine, the sum of an integer and its 1's complement is 226 - 1. Then sizeof intl. in bits, will be

Q. Which of the following comments about the preprocessor directive # are correct?

Q. The most significant hit will be lost in which of the following operations?

Q. If the bit pattern corresponding to a signed integer is shifted to the right then

Q. If the word size is 16 bit, then ~0xc5 will be

Q. Preprocessing is typically done

Q. Choose the correct statements.

Q. Consider the following statement.

# define hypotenuse(a, b) sqrt (a * a + b * b ) ;

The macro-call hypotenuse ( a + 2, b + 3) ;

Q. The ascending order of precedence of the bit-wise operators &, ^, | is

Q. The scope of a macro definition

Q. Which of the following comments are correct when macro definition includes arguments?