What is switch case?

1 answer

Answer

1048249

2026-08-13 11:20

+ Follow

switch (expression)

{

case constant-value1:

statements

break [optional];

case constant-value2:

statements

break [optional];

.

.

.

default:

statements;

}

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.