Archived
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(“window size is %d m^2\n”,area);
#endif
return 0
}
0
Community EvaluationsNo one has reviewed this question yet, be the first!
3
Write a C program that calculates the average of two notes.7
What is the size of a long long in C++?4
Undefined behavior.2
Write a C function to swap two integers.3
Find the sum of all even numbers in an array in C2
Write a C program to calculate the total number of sweets.1
What does the following code refer to: C:\ProgramFiles\QtCreator\text.txt ?