Question
#define square (a) (a*a)
printf("%d", square (4+5) ) ;
a.
81
b.
4
c.
29
d.
None 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. What is the output generated by the following code?
Similar Questions
Discover Related MCQs
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
Q. What are the types of C Preprocessor Directives?
View solution
Q. Processor Directive in C language starts with
View solution
Q. Preprocessor in C language works on
View solution
Q. What is the another name for .C file?
View solution
Q. What is the keyword used to define a C macro?
View solution
Q. What is the C keyword used to create global Constants?
View solution
Q. What is the output file generated after processing a .C file?
View solution
Q. How do you safeguard your .C file code from copying by outside developers or world?
View solution
Q. How do you separate a multiline macro in C language?
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!