Quiz · Building and the Preprocessor · lesson 3 of 8
Quiz — SQUARE(x + 1)
What does the program print?
#include <iostream>
#define SQUARE(x) x * x
int main() {
int x = 3;
std::cout << SQUARE(x + 1) << '\n';
}Subscribe to take the course
The course is free. Sign in with Telegram and subscribe to the channel to open every lesson.