Google News
logo
Golang - Interview Questions
Explain the syntax for 'for' loop in Go programming language.
The syntax of a for loop in Go programming language is :

for [condition |  ( init; condition; increment ) | Range]  
{  
   statement(s);  
}  
Advertisement