In which of the following statements, all the branches are equal in priority?

Ngoc Hue

New member
In which of the following statements, all the branches are equal in priority?
A. IF
B. CASE
C. WAIT
D. LOOP
 
Answer: b
Explanation: Only IF and CASE statements have branches. Among which IF statement has a priority scheduled which is IF, then ELSIF sequentially and ELSE at the lowest priority. Unlike the IF statement, CASE statement has no priority. All the branches are equal in priority and all the cases are covered. Due to this, it is obvious that there must not be any overlaps.
 

Tìm kiếm

Back
Top