:: C Language Interview Questions ::

Click on >> (Arrow for More Questions) 

  Answer/Explaination : 

Compiler Error: Constant expression required in function main.


(Exp):
The case statement can have only constant expressions (this implies that 
we cannot use variable names directly so an error).
Note:
Enumerated types can be used in case statements. 
 
 

Next >>

 
 

Quick Links

| Home | C Language | All India Entrances | Previous Year Papers | Software Projects

| Project Reports | Job Alerts & Notifications | Technical Interview Questions |

| Audio Visual Notes |