Question
a.
#define INCH PER FEET 12
b.
#define SQR(X) (X *X);
c.
#define SQR(X) X*X
d.
#define SQR(X) (X*X)
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. Which of the following are correctly formed #define statements?
Similar Questions
Discover Related MCQs
Q. A macro must always be written in capital letters.
View solution
Q. A macro should always be accommodated in a single line.
View solution
Q. After preprocessing when the program is sent for compilation the macros are removed from the expanded source code.
View solution
Q. Macros with arguments are not allowed.
View solution
Q. Nested macros are allowed.
View solution
Q. In a macro call the control is passed to the macro.
View solution
Q. All macro substitutions in a program are done
View solution
Q. Identify the trigraph sequence for '\'.
View solution
Q. Identify the trigraph sequence for '^'.
View solution
Q. Undefined function calls in a C program.
View solution
Q. Identify the macro(s) defined in stdarg.h.
View solution
Q. va_list is
View solution
Q. Identify the stringizing operator.
View solution
Q. The EOF character can be included in a file as part of its data.
View solution
Q. The NULL character indicates an end of a string and a file.
View solution
Q. The command line arguments are handled using?
View solution
Q. argc refers to the?
View solution
Q. argv[] is a?
View solution
Q. In linux, argv[0] by command-line argument can be occupied by _________
View solution
Q. What is the index of the last argument in command line arguments?
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!