-
Moderator
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.
-
Junior Member
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
-
Forum Rules