adplus-dvertising
frame-decoration

Question

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

a.

It converts the formal argument in the macro definition into a string

b.

It strips out redundant blanks

c.

It concatenates adjacent strings, if any.

d.

All of the above

Posted under C Programming

Answer: (d).All of the above

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

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?

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 ?