Results 1 to 2 of 2

Thread: C/C++ Programming : Limitations of switch statement

  1. #1
    Join Date
    Oct 2005

    C/C++ Programming : Limitations of switch statement

    What are the Limitations of switch statement?

    Switch statement is a powerful statement used to handle many alternatives and provides good presentation for C program. But there are some limitations with switch statement which are given below:

    Logical operators cannot be used with switch statement. For instance
    case k>=20:

    is not allowed

    Read Full
    C Knowledgebase

    Last edited by admin; 06-20-2012 at 01:32 PM.

  2. #2
    Junior Member
    Join Date
    Jul 2007

    Re: C/C++ Programming : Limitations of switch statement

    sitch statemnt can not work with float value also...
    have a good day...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.