Thursday, 22 March 2018

Use of "Go to" Statement

The goto statement is the most basic form of unconditional transfer of control.
  Although the keyword may either be in upper or lower case depending on the language, it is usually
written as:
   goto label

 The effect of a goto statement is to cause the next statement to be executed to be the statement appearing at ( or immediately after ) the indicated label. A label is an explicit name or number assigned to a fixed position within the source code and which may be referenced by control flow statement appearing elsewhere in the source code.

     Goto statement have been considered harmful by many computer scientists, notably Dijkstra.


Post a Comment

Codecademy Code Foundations

Popular Posts


Android (23) AngularJS (1) Assembly Language (2) Books (10) C (75) C# (12) C++ (81) Course (1) Data Strucures (4) Downloads (1) Engineering (13) flutter (1) FPL (17) Hadoop (1) HTML&CSS (38) IS (25) Java (89) Leet Code (4) Pandas (1) PHP (20) Projects (19) Python (397) R (69) Selenium Webdriver (2) Software (14) SQL (27)