Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

C/C++ Programming : Limitations of switch statement

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 ...

Go Back   Geeks Talk > Software Development > C and C++
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 07-04-2006
Moderator
 
Join Date: Oct 2005
Posts: 1,038
Blog Entries: 75
Thanks: 3
Thanked 168 Times in 136 Posts
Lokesh M has a spectacular aura aboutLokesh M has a spectacular aura about
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.
Reply With Quote
The Following User Says Thank You to Lokesh M For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 07-17-2007
Contributing Member
 
Join Date: Jul 2007
Location: India
Posts: 31
Thanks: 6
Thanked 4 Times in 4 Posts
kamanianil is on a distinguished road
Re: C/C++ Programming : Limitations of switch statement

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

  Geeks Talk > Software Development > C and C++

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

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


All times are GMT -4. The time now is 01:28 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved