answersLogoWhite

0

What is goto?

Updated: 10/25/2022
User Avatar

Wiki User

14y ago

Best Answer

A statement found in many computer programming languages. It is a combination of the English words go and to. When executed it causes an unconditional transfer of control (a "jump") to another statement. The jumped-to statement is specified using some kind of label, which may be an identifier or a line number depending on the language. At the machine code level a goto is a form of branch or jump statement.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is goto?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What has the author John Goto written?

John Goto has written: 'Shotover' 'The now of here' 'Goto' 'Goto'


What is go-to unconditional in c plus plus?

An unconditional goto is a goto that has no associated conditional expression. The following example demonstrates conditional and unconditional goto statements. int x=rand(); if (x) goto label_1; // conditional goto (when x is non-zero) else goto label_2; // conditional goto (when x is zero) label_1: // ... goto label_3; // unconditional goto (jump past label_2) label_2: // ... label_3: // ...


Why is goto statement harmful?

It isn't. True, you can write bad code with goto, but you can do that without goto as well.


When was Eiichi Goto born?

Eiichi Goto was born in 1931.


When did Eiichi Goto die?

Eiichi Goto died in 2005.


When was Satoshi Goto born?

Satoshi Goto was born in 1971.


When was Ryu Goto born?

Ryu Goto was born in 1988.


When was Hitoshi Goto born?

Hitoshi Goto was born in 1957.


When was Toru Goto born?

Toru Goto was born in 1934.


When was Shigeyuki Goto born?

Shigeyuki Goto was born in 1955.


When was Masanao Goto born?

Masanao Goto was born in 1857.


When was Katsu Goto born?

Katsu Goto was born in 1862.