+ 1

When r default and goto keywords used in C++ ????

8th Dec 2016, 10:48 AM
vj_codes
vj_codes - avatar
5 odpowiedzi
+ 2
default is used in switch - case statement.
9th Dec 2016, 2:17 PM
Satish Mhetre
Satish Mhetre - avatar
+ 2
To perform an operation if value passed by switch doesn't match to any of case values.
9th Dec 2016, 2:18 PM
Satish Mhetre
Satish Mhetre - avatar
+ 1
A goto statement provides an unconditional jump from the goto to a labeled statement in the same function. NOTE: Use of goto statement is highly discouraged because it makes difficult to trace the control flow of a program, making the program hard to understand and hard to modify.
8th Dec 2016, 1:52 PM
Vipul Walia
Vipul Walia - avatar
0
Why you have declined my challenge @vaishnavi
9th Dec 2016, 1:27 PM
Satish Mhetre
Satish Mhetre - avatar
- 1
what's the wrong with my point ??
9th Dec 2016, 1:35 PM
Vipul Walia
Vipul Walia - avatar