What does our preprocessor directive do?
The preprocessor directive loads code from a library prior to our code’s compilation.
int main(), return 0;
This code is used to compile and check for errors, respectively. Without int main()
, the code wouldn’t compile. Without return 0;
, we wouldn’t have a way to check for errors after runtime.
What is our code doing?
- We expressed information through text
- We declared initial values for our variables, along with their sum and product
- We then expressed the values of sum and product
- Finally, we returned 0 to check for runtime errors