Quote:
|
Originally Posted by deepak_vsoni
you can use goto statement but you need a conditional statement to terminate the program or else it will loop infinitely (actually goto statement is not entertained much)..........or else i think its not possible.....
|

NEVER USE A GOTO STATEMENT. Its not only bad programming, but also makes code maintenance extremely difficult.
deepak_vsoni points out that it is not entertained much. I will say he is being modest

It is highly discouraged.
If you properly follow the flow of logic, GOTO statement will never be required. I have made many C applications, but never ever used GOTO. Its extremely bad programming practice