C Program to demonstrate goto statement
The goto statement in C is an unconditional jump that transfers program control directly to a labelled statement within the same function. While modern C style discourages it, goto is still useful in a few real situations — most commonly for breaking out of deeply nested loops and for centralised cleanup/error handling. In this tutorial …