Skip to content

Commit

Permalink
Fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
yves-chevallier authored Oct 1, 2024
1 parent daa328d commit 83b8b53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion refcard.tex
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
void main() { say("Hello"); say(15); }

// Arguments par défaut
void foo(int a = 1; int b = 4) { ... }
void foo(int a = 1, int b = 4) { ... }
void main() {
foo(); // a = 1, b = 4
foo(20); // a = 20, b = 4
Expand Down

0 comments on commit 83b8b53

Please sign in to comment.