in GoLang by
Explain the syntax for 'for' loop.

1 Answer

0 votes
by
The syntax of a for loop in Go programming language is:

for [condition |  ( init; condition; increment ) | Range]  

{  

   statement(s);  

}
...