How can we use goto function in c++ like c? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответ
+ 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