Q. What is the correct syntax of a switch statement?

स्विच स्टेटमेंट का सही सिंटैक्स क्या है?

A
switch(exp) { case 1: ... }
B
switch case(exp) { ... }
C
switch { exp: case 1 ... }
D
switch { case(exp) ... }

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment