Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
C Programming
→
Floating Point Issues in C Programming
→
Macros with arguments are allowed
1.
Macros with arguments are allowed
Answer» True, A macro may have arguments. Example: #define CUBE(X)(X*X*X)
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
If the file to be included doesn't exist, the preprocessor flashes an error message.
Preprocessor directive can be used only on a macro that has been earlier
There exists a way to prevent the same file from getting twice in the same program.
In a macro call the control is passed to the macro.
A header file contains macros, structure declaration and function prototypes.
The preprocessor can trap simple errors like missing declarations, nested comments or mismatch of braces.
A preprocessor directive is a message from compiler to a linker.
Once preprocessing is over and the program is sent for the compilation the macros are removed from the expanded source code.
A macro must always be defined in capital letters.
Will it result in to an error if a header file is included twice?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies