C Piscine Exam 01 Review
You cannot use <stdio.h> (no printf for debugging in the final submission – though you can use it during development if you comment it out!). You cannot use <string.h>. You must rewrite strlen, strcpy, etc., by hand.
C has various operators for performing arithmetic, comparison, logical operations, and more. c piscine exam 01
Example:
int a = 5;
int b = 3;
int sum = a + b; // addition
int product = a * b; // multiplication
int isEqual = (a == b); // comparison
You cannot pass Exam 01 if your code looks "pretty in your own way." The Norminette (v3 or v4, depending on the campus) enforces: You cannot use <stdio
You will lose points if you have an extra newline at the end of the file. You will lose points for a missing space between int and *a. It is merciless. It is by design. Comparison Operators :