Selected function prototypes will be on the backpage of the final exam. You shouldn't need any functions beyond those given. If you feel you do need one, ask the proctor who will write the prototype on the board.
Precedence |
Operation |
Associativity |
1 |
++ (postfix) -- (postfix) ( )
[ ] . > |
innermost first |
2 |
|
right to left (unary) |
3 |
* / % |
left to right |
4 |
+ - |
left to right |
5 |
< <= >
>= |
left to right |
6 |
== != |
left to right |
7 |
&& |
left to right |
8 |
|| |
left to right |
9 |
?: |
right to left |
10 |
= +=
-= *= /= %= |
right to left |
11 |
, |
left to right |
Variable Type |
output specifier |
input specifier |
int |
%i |
%i |
double |
%f |
%lf |
char |
%c |
%c |
string |
%s |
%s |