Medium
What does the following code display?
#include <stdio.lib>
#define WIDTH_WINDOW 10
int heightWindow= 15;
int main()
{
#if WIDTH_WINDOW < 10
printf("the window is too small\n");
#elif WIDTH_WINDOW >100
printf("the window is too big\n");
#else
int area = heightWindow*WIDTH_WINDOW;
printf("the window size is %d m^2\n",area);
#endif
return 0;
}
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
2
Write a C program to calculate the total number of sweets.3
Write a C program that calculates the average of two notes.3
Find the sum of all even numbers in an array in C4
Undefined behavior.7
What is the size of a long long in C++?1
What does the following code refer to: C:\ProgramFiles\QtCreator\text.txt ? 2
Write a C function to swap two integers.