Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

chapter1: fix typo with modulus in printf().

  • Loading branch information...
commit 493e46b1278fa3e828edb467220acf94f53239e4 1 parent 01d0cb8
@chergert authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  book/chapter1.tex
View
2  book/chapter1.tex
@@ -275,7 +275,7 @@ \section{Addition, Subtraction, Division and Modulus}
int a = 42;
int b = 32;
- printf ("%d % %d = %d\n", a, b, a % b);
+ printf ("%d %% %d = %d\n", a, b, a % b);
}
\end{code}
Please sign in to comment.
Something went wrong with that request. Please try again.