Question from the C++ test

What is the result of the following code? #define CONSTANT 10; int main() { return CONSTANT; }

Hard

In C/C++, a line starting with a hash (#) can indicate:

Author: Abha AgrawaStatus: PublishedQuestion passed 447 times
Edit
0
Community Evaluations
developer avatar
Adrien
08/11/2023
Petite typo, je suppose que la derniĂšre rĂ©ponse c'est "La dĂ©finition d’une constaNte." et pas d'une constate ?
developer avatar
Auteur anonyme
08/11/2023
Tout Ă  fait ! je fix merci