Easy
What does the following code do ?
int main()
{
const float SEMESTER_AVERAGE = 15.7;
float note1 = 12.75;
float note2 = 18.0;
SEMESTER_AVERAGE = (note1+note2)/2;
return 0;
}
Author: KahinaStatus: PublishedQuestion passed 149 times
Edit
3
Community EvaluationsNo one has reviewed this question yet, be the first!
3
Undefined behavior.1
What does the following code refer to: C:\ProgramFiles\QtCreator\text.txt ? 2
Include a .h library in C1
Write a C function to swap two integers.7
What is the size of a long long in C++?2
Write a C program to calculate the total number of sweets.3
Find the sum of all even numbers in an array in C