What will be printed out as a result of the following code execution?

#include <iostream>
int main() {
    #define MyConst 1;
    #define Quizful

    int k = 10;
    #if !defined Quizful && defined MyConst
    return 0;
#define Quizful is a blank macro definition which expands to nothing. But as it is defined, #if defined Quizful evaluates to true and #if !defined Quizful evaluates to false.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback