Google News
logo
CPP - Interview Questions
What is the difference between goto and unconditional goto?
The goto statement is used to alter the program execution sequence by transferring the control to some other part of the program.
 
The unconditional goto statement is used just to transfer the control from one part of the program to the other part without checking any condition. Normally, a good programmer will not prefer to use the unconditional goto statement in his program as it may lead to a very complicated problem like a never ending process.
Advertisement