Selected function prototypes and constant from the standard libraries. You shouldn't need any functions beyond those given here. If you feel you do need one, ask the proctor who will write the prototype on the board.
Precedence |
Operation |
Associativity |
1 |
( ) |
innermost first |
2 |
++ -- + -
! (type) |
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 |
Variable Type |
output specifier |
input specifier |
int |
%i |
%i |
double |
%f |
%lf |
char |
%c |
%c |
string |
%s |
%s |