+ 2

goto statement problem!

How to ends the goto statement, when iteration gets incremented?

26th May 2018, 4:17 AM
Kumaresan L
Kumaresan L - avatar
4 Antworten
+ 2
https://code.sololearn.com/c3XFr4e0pV82/#cpp kumaresan I really would like to know the reason for using a goto statement.
26th May 2018, 4:53 AM
ODLNT
ODLNT - avatar
+ 1
I'm not sure why you are using a goto statement. But if you must use it, you should use some sort of conditional statement with goto in the code block.
26th May 2018, 4:34 AM
ODLNT
ODLNT - avatar
+ 1
Charles Comer, how to handle with conditional statements with goto. there is the need, if you have a sample code plz insert here...
26th May 2018, 4:36 AM
Kumaresan L
Kumaresan L - avatar
0
put goto in an if statement
26th May 2018, 4:54 AM
Sachin Artani
Sachin Artani - avatar