How can we use goto function in c++ like c? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can we use goto function in c++ like c?

please mention syntax or program

3rd Nov 2017, 5:04 PM
Eshaan Namdeo
Eshaan Namdeo - avatar
1 Answer
+ 6
There is no goto function. Either you are talking about the goto jump command, which is used like kurwius explained, or the gotoxy() function, which is not there in modern C++.
4th Nov 2017, 10:33 AM
Kinshuk Vasisht
Kinshuk Vasisht - avatar