C Programming - C Preprocessor - Discussion


Macros with arguments are allowed

[A]. True
[B]. False

Answer: Option A


True, A macro may have arguments.

Example: #define CUBE(X)(X*X*X)

Robert Caldwel S said: (Aug 4, 2016)  
Ya macros can have arguments!

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.