| Forums.Sureshkumar.net : A Perfect Place to Share Knowledge Blogs Games Magazines |
|
|||||||
| vb / asp.net Interview / Technical Questions Kindly solve an many as questions you can. It will sharpen your skills and those solutions will help others too. |
![]() |
|
|
LinkBack | Thread Tools | Rate Thread | Display Modes |
|
|
#1 (permalink) |
|
Junior Member
Join Date: Jan 2008
Posts: 16
Thanks: 0 Thanked 0 Times in 0 Posts Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1
|
int iNum = 2;
switch (iNum) { case 1: Response.Write(iNum); case 2: Response.Write(iNum); break; } What is the output?? Output A: 22 B: 2 C: Compiler Error D: None of the above |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C language - When is a switch statement better than multiple if statements? | GEEK | ds. c , c++ Interview / Technical Questions | 3 | 08-02-08 03:48 PM |
| J2EE - What is the difference between an if statement and a switch statement? | preethisingh | Java Interview / Technical Questions | 0 | 23-01-07 03:12 PM |
| J2EE - What restrictions are placed on the values of each case of a switch statement? | preethisingh | Java Interview / Technical Questions | 0 | 23-01-07 03:04 PM |
| C language -When is a switch statement better than multiple if statements? | GEEK | ds. c , c++ Interview / Technical Questions | 0 | 23-01-07 01:18 PM |
| C language -Can we use string in switch statement? | GEEK | ds. c , c++ Interview / Technical Questions | 0 | 23-01-07 01:10 PM |