CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: GCDEF

Search: Search took 0.16 seconds.

  1. Replies
    8
    Views
    2,259

    Re: A question regarding switch/case

    That's been answered twice by Paul and once by me already. Basically a switch statement starts at the first case that meets the expression and keeps going till it hits a break.
  2. Replies
    8
    Views
    2,259

    Re: A question regarding switch/case

    And if you set i to equal 1, and your case 1 didn't include a break statement, what do you think the output would be?
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured