1.

The statement that exits a labeled flow-control construct is _____________(a) DESCRIBE(b) LEAVE(c) LOOP(d) RETURNThe question was posed to me during an interview for a job.The doubt is from Comment Syntax in portion SQL Syntax of MySQL

Answer»

The correct option is (B) LEAVE

For explanation I would say: The ‘LEAVE’ statement is used to EXIT a labeled flow-control construct. This statement must appear WITHIN the construct that has the GIVEN LABEL. The syntax of the statement is ‘LEAVE label’.



Discussion

No Comment Found

Related InterviewSolutions