1.why market switch in c++ .
2.merit and demerit of c++
Introduction of c++
please tell in brief
Hi @mkjha
1.
Switch statement is an approach of programming language which provides advantages for menu driven programs
The main advantage is that in this the user can compare a no. Of values of a variable by a single switch statement and using a number of cases. It makes error detection easier as the program is divided into modules through these cases. It is generally used when many values for a variable are to be compared.
For merits/demerits of C++, refer this : https://data-flair.training/blogs/advantages-and-disadvantages-of-cpp/
Hope this helps
Mark resoved is satisfied
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.