Thursday, August 26, 2010

C++ queries

Respected Sir

Please answer my following queries:

Q1. What is the limit of case labels in switch statement in C++??
Q2. What is the limit of variable name in C++??

Your help would be highly appreciated.

Ramandeep

2 comments:

Gagan Kalra said...

The image is taken from msdn website


http://lh3.ggpht.com/_wUUr5fD2PAQ/TH4sFfRD-UI/AAAAAAAAAY0/t0ptCRxM1w8/maximum%20cases.JPG

Unknown said...

1: 257
2: it depends upon compiler.. the latest vc++ supports 260

Post a Comment