Question
a.
Macro template(eg. PI or function) will be replaced by Macro Expansion(3.1428) as many number of times as it appears in the C program increasing Source Code size in bytes.
b.
Macros increase program speed when compared to functions.
c.
Functions use less memory as the program code is written and placed only one place in source code. Macros put function code everywhere it is called again and again.
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 a correct statement about C Macro?
Similar Questions
Discover Related MCQs
Q. What is the command to preprocess a C file manually?
View solution
Q. What is the file extension of expanded source code of .C file after preprocessing?
View solution
Q. How do you separate a multiline macro in C language?
View solution
Q. How do you safeguard your .C file code from copying by outside developers or world?
View solution
Q. What is the output file generated after processing a .C file?
View solution
Q. What is the C keyword used to create global Constants?
View solution
Q. What is the keyword used to define a C macro?
View solution
Q. What is the another name for .C file?
View solution
Q. Preprocessor in C language works on
View solution
Q. Processor Directive in C language starts with
View solution
Q. What are the types of C Preprocessor Directives?
View solution
Q. What is the index of the last argument in command line arguments?
View solution
Q. In linux, argv[0] by command-line argument can be occupied by _________
View solution
Q. argv[] is a?
View solution
Q. argc refers to the?
View solution
Q. The command line arguments are handled using?
View solution
Q. The NULL character indicates an end of a string and a file.
View solution
Q. The EOF character can be included in a file as part of its data.
View solution
Q. Identify the stringizing operator.
View solution
Q. va_list 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!