We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 764d612 + 818ad02 commit ee78596Copy full SHA for ee78596
Language/Variables/Utilities/sizeof.adoc
@@ -69,7 +69,7 @@ void loop() {
69
70
[source,arduino]
71
----
72
-for (i = 0; i < (sizeof(myInts)/sizeof(int)); i++) {
+for (i = 0; i < (sizeof(myInts)/sizeof(myInts[0])); i++) {
73
// myInts[i] 가지고 무언가를 함
74
}
75
0 commit comments