Question
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
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
View solution
Q. The process of transforming one bit pattern into another by bit-wise operations is called
View solution
Q. How many bits are absolutely necessary to store an ASCII character?
View solution
Q. If 7 bits are used to store a character, the percentage reduction of needed storage will be
View solution
Q. How many bits are absolutely necessary to store an ASCII character ?
View solution
Q. a << 1 is equivalent to
View solution
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
View solution
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
View solution
Q. Which of the following comments about the preprocessor directive # are correct?
View solution
Q. The most significant hit will be lost in which of the following operations?
View solution
Q. If the bit pattern corresponding to a signed integer is shifted to the right then
View solution
Q. If the word size is 16 bit, then ~0xc5 will be
View solution
Q. Preprocessing is typically done
View solution
Q. Choose the correct statements.
View solution
Q. Consider the following statement.
# define hypotenuse(a, b) sqrt (a * a + b * b ) ;
The macro-call hypotenuse ( a + 2, b + 3) ;
View solution
Q. The ascending order of precedence of the bit-wise operators &, ^, | is
View solution
Q. The scope of a macro definition
View solution
Q. Which of the following comments are correct when macro definition includes arguments?
View solution
Q. lint is
View solution
Q. The number of possible values of m, such that m & 0x3f equals 0x23 is
View solution
Suggested Topics
Are you eager to expand your knowledge beyond C Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!