-->![Dev Dev](https://1.bp.blogspot.com/-Q4CnYQGt15c/WyLEvf4K9WI/AAAAAAAAAAo/vEakHxI4vAwboziixhuv7ydDNzoUaBWYgCLcBGAs/s1600/alternative_dev_c___icon__256x256__by_thepi7on-dapvn1w.png)
![Dev Dev](https://www.lawebdelprogramador.com/usr/197000/197503/56cb62ed3ba3f-Captura2.PNG)
The goto statement unconditionally transfers control to the statement labeled by the specified identifier.
Gotoxy Dev C Que Es S Una Clase
Syntax
![Dev Dev](https://1.bp.blogspot.com/-Q4CnYQGt15c/WyLEvf4K9WI/AAAAAAAAAAo/vEakHxI4vAwboziixhuv7ydDNzoUaBWYgCLcBGAs/s1600/alternative_dev_c___icon__256x256__by_thepi7on-dapvn1w.png)
Goto Statement (C); 2 minutes to read +1; In this article. The goto statement unconditionally transfers control to the statement labeled by the specified identifier. Syntax goto identifier; Remarks. The labeled statement designated by identifier must be in the current function. All identifier names are members of an internal namespace and therefore do not interfere with other. Mar 14, 2015 espero les sea de ayuda este capitulo de gotoxy, y les quede claro como se usa. Si tienen alguna duda por favor comenten el video. Si les gusto este video denle manita arriba, compartanlo, gracias.
Remarks
The labeled statement designated by
identifier
must be in the current function. All identifier
names are members of an internal namespace and therefore do not interfere with other identifiers.A statement label is meaningful only to a goto statement; otherwise, statement labels are ignored. Labels cannot be redeclared.
A goto statement is not allowed to transfer control to a location that skips over the initialization of any variable that is in scope in that location. The following example raises C2362:
It is good programming style to use the break, continue, and return statements instead of the goto statement whenever possible. However, because the break statement exits from only one level of a loop, you might have to use a goto statement to exit a deeply nested loop.
For more information about labels and the goto statement, see Labeled Statements.
Example
In this example, a goto statement transfers control to the point labeled
stop
when i
equals 3.See also
Que Es Gotoxy En Dev C++
Dev C++ Online
Jump Statements
Keywords
Keywords