mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-05-22 22:30:58 +00:00
[c/en] Correct off-by-one error
This commit is contained in:
parent
a8ad68aede
commit
8f990317b7
@ -348,7 +348,7 @@ int main (int argc, char** argv)
|
|||||||
printf("Error occurred at i = %d & j = %d.\n", i, j);
|
printf("Error occurred at i = %d & j = %d.\n", i, j);
|
||||||
/*
|
/*
|
||||||
https://ideone.com/GuPhd6
|
https://ideone.com/GuPhd6
|
||||||
this will print out "Error occurred at i = 52 & j = 99."
|
this will print out "Error occurred at i = 51 & j = 99."
|
||||||
*/
|
*/
|
||||||
|
|
||||||
///////////////////////////////////////
|
///////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user