C/C++ Programming : Limitations of switch statement
[B][COLOR=DarkRed][FONT=Verdana]What are the [/FONT][/COLOR][/B][B][B][COLOR=DarkRed]Limitations of switch statement?[/COLOR][/B]
[/B][FONT=Verdana]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:[/FONT]
[FONT=Verdana]Logical operators cannot be used with switch statement. For instance [/FONT]
[FONT=Verdana]case k>=20:[/FONT]
[FONT=Verdana]is not allowed[/FONT]
[FONT=Verdana][URL="http://www.geekinterview.com/question_details/30963"]Read Full[/URL]
[/FONT][URL="http://www.learn.geekinterview.com/programming/c/"]C Knowledgebase[/URL]
Re: C/C++ Programming : Limitations of switch statement
sitch statemnt can not work with float value also...
have a good day...:)