+ 2

Goto statement

what is the syntax of goto statement and how to use it? is it still useful?

21st Feb 2018, 5:09 AM
Shyamal Bhatt
Shyamal Bhatt - avatar
4 Answers
+ 4
Here is some info about goto: http://en.cppreference.com/w/cpp/language/goto From what I heard, it's not used a lot.
21st Feb 2018, 5:17 AM
Colin
Colin - avatar
+ 4
I'm not sure I know enough to answer your question, however, here are some of the results I found relevant with it: [Syntax] https://www.w3schools.in/c-tutorial/decision-making/goto [Discussion] https://stackoverflow.com/questions/245742/examples-of-good-gotos-in-c-or-c Hth, cmiiw
21st Feb 2018, 5:23 AM
Ipang
+ 1
@Colin thx bro 😀👍
21st Feb 2018, 5:22 AM
Shyamal Bhatt
Shyamal Bhatt - avatar
+ 1
@lpang no problem bro thx for the link👍😃
21st Feb 2018, 5:25 AM
Shyamal Bhatt
Shyamal Bhatt - avatar