Question
#define LOGIC(a,b) (a==b)
int main()
{
if(LOGIC(5,5))
{
printf("SAME ");
}
return 0;
}
a.
SAME
b.
LOGIC(5,5)
c.
5==5
d.
Compiler error
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. What is the output of C program?
Similar Questions
Discover Related MCQs
Q. How do you separate a multiline macro in C language?
View solution
Q. What is the file extension of expanded source code of .C file after preprocessing?
View solution
Q. What is the command to preprocess a C file manually?
View solution
Q. Choose a correct statement about C Macro?
View solution
Q. What is the C Preprocessor directive to be used to add a header file or any file to existing C program?
View solution
Q. What is the abbreviation of C STDIO in stdio.h?
View solution
Q. Choose a correct form of using C Conditional Compilation commands IF ELSE .
View solution
Q. What is a Pragma in C language?
View solution
Q. What is the C Pragma directive or command to execute a particular function at startup of program?
View solution
Q. At what stage of building a C program does Pragma work?
View solution
Q. Choose a correct implementation of C Pragma Warning?
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!

Operating System
Dive deep into the core of computers with our Operating System MCQs. Learn about...

Cyber Security
Understand the fundamentals of safeguarding digital assets with our Cyber Security...