What is the logic of using the exit () function and the goto statement in a program? How safe is it? how to use it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10

What is the logic of using the exit () function and the goto statement in a program? How safe is it? how to use it?

7th Mar 2020, 2:25 AM
José Cleto
José Cleto - avatar
2 Answers
+ 7
Here is an example via https://books.google.com/books?id=P2h0AgAAQBAJ&pg=PA48&lpg=PA48&dq=What+is+the+logic+of+using+the+exit+()+function+and+the+goto+statement+in+a+program?+How+safe+is+it?+how+to+use+it?&source=bl&ots=K0UHbSXt5C&sig=ACfU3U1_Qa8vjYvGoeFzDAoIfC-gc42-3g&hl=en&sa=X&ved=2ahUKEwi6tNnmrYfoAhUrnq0KHSsDC4MQ6AEwC3oECAEQAQ#v=onepage&q=What%20is%20the%20logic%20of%20using%20the%20exit%20()%20function%20and%20the%20goto%20statement%20in%20a%20program%3F%20How%20safe%20is%20it%3F%20how%20to%20use%20it%3F&f=false which explains the question I believe as a whole.
7th Mar 2020, 2:56 AM
BroFar
BroFar - avatar
+ 7
Thanks...
7th Mar 2020, 3:43 AM
José Cleto
José Cleto - avatar