adplus-dvertising
frame-decoration

Question

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

a.

vacant bit will be filled by the sign bit

b.

vacant bit will be filled by 0

c.

the outcome is implementation dependent

d.

none of the above

Posted under C Programming

Answer: (c).the outcome is implementation dependent

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

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?

Q. lint is

Q. The number of possible values of m, such that m & 0x3f equals 0x23 is

Q. cb is a

Q. In what kind of structure for strings, one can easily insert, delete, concatenate and rearrange sustrings?

Q. If space occupied by a null terminated string "S1" and "S2"in "C" are respectively "m" and "n",the space occupied by the string obtained by concentrating "S₁"and "S₂"is always

Q. If space occupied by two strings s1 and s2 in 'C' are respectively m and n, then space occupied by string obtained by concatenating s1 and s2 is always

Q. Length of the string " correct " is

Q. Which of the following comments regarding the reading of a string using scanf( with %s option and gets, is true ?)

Q. A string that is a formal parameter can be declared

Q. C Language was developed at ?

Q. Many features of C were derived from which language ?

Q. What is C language?

Q. First version of C Programming language is ____ .