InterviewSolution
Saved Bookmarks
| 1. |
List the Looping constructs in Go language. |
|
Answer» A loop statement allows programmers to execute a statement multiple times. Here is a general type of loop statement used in the majority of programming languages:
Loop Control Statements: These statements change execution from the TYPICAL SEQUENCE. When an implementation leaves a scope, every programmed object GETS diminished. The Infinite Loop: A loop will turn into an infinite loop if its CONDITION is never false. It is POSSIBLE to create endless loops by keeping the conditional expression empty. |
|