The ______ keyword is used to define a block of code that might be compiled conditionally
- #define
- #endif
- #if
- #ifdef
The correct keyword in this context is #if. It is used in preprocessor directives to conditionally compile blocks of code based on compiler settings or predefined macros.
Loading...
Related Quiz
- In professional C++ coding, it is often recommended to avoid using break and continue in favor of _______.
- To read an entire string from a file, instead of a single character, use the _______ function.
- The standard namespace used commonly in C++ is _______.
- In C++, if a class makes a non-member function its friend, that function gets the ability to access the _______ and _______ members of the class.
- What is the relationship between abstraction and interfaces in C++?