guix:
Hello and welcomeWhere is i declared?
And, it may be ugly, yet it's most efficient this way, than using for loops.
You can still use #define instead of const int, to save little program memory
'const int' occupies no memory so it won't save a thing!