adplus-dvertising
frame-decoration

Question

Choose the correct statement.

a.

The scope of a macro definition need not be the entire program

b.

The scope of a macro definition extends from the point of definition to the end of the file

c.

New line is a macro definition delimiter and it may go beyond a line.

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. Choose the correct statement.

Similar Questions

Discover Related MCQs

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?

Q. lint is

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