V

Vijay Sangwan • 28.62K Points
Instructor II

Q. Which of the following is used to define a macro in C++?

  • (A) #define
  • (B) #macro
  • (C) #include
  • (D) #ifdef
  • Correct Answer - Option(A)
  • Views: 41
  • Filed under category C++

Explanation by: Vijay Sangwan
The '#define' directive is used to define a macro in C++.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics