Prepare for your Next Interview
This is a discussion on C/C++ Programming : Limitations of switch statement within the C and C++ forums, part of the Software Development category; 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 ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
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 at C Knowledgebase Last edited by Lokesh M : 07-04-2006 at 08:55 PM. |
| The Following User Says Thank You to Lokesh M For This Useful Post: | ||
| Sponsored Links |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C Programming - Linked Lists | Lokesh M | C and C++ | 1 | 03-05-2007 07:02 AM |
| C Programming - File management in C | Lokesh M | C and C++ | 0 | 05-31-2006 04:35 PM |
| C Programming - Dynamic Memory allocation | Lokesh M | C and C++ | 0 | 05-29-2006 03:35 AM |
| C Programming - Structures and Unions | Lokesh M | C and C++ | 0 | 05-26-2006 02:06 AM |
| C Programming - Pointers | Lokesh M | C and C++ | 0 | 05-26-2006 02:05 AM |