engineering recuitment NIELIT Scientific Assistant Mock Test 2025 Programming and Data Structure Programming in C
The value of n after executing the following code is
int n = 15;
switch(n) {
case 13: n = n - 1;
case 15: n = n - 2;
case 17: n = n + 18;
}
1
15
2
30
3
13
4
31