Browsing all articles tagged with switch statement - Share Programming Tips
Why variables can not be declared in a switch statement just after labels?
see this code
#include<stdio.h> int main() { int i=1; switch(i) { case 1: int x=10; printf(" x is %d",x); break; } return 0; }
Do you think this code will compile? if yes then you need to read this post….
Search in this website
our sponsors
latest comments
- JIGAR PATEL on List of all standard version of c language
- agabein on List of all standard version of c language
- David Wood fin on Stop Plugin from showing updates
- Alice on C programming interview questions and answers for freshers
- smitesh on How to access/unblock songs.pk in india?
Find us on Facebook
Top Authors
Find us on stackoverflow
Polls
Loading ...
My Bookmarks
- Audio/video Recorder & player application based on MATLAB
- check dependency of your binary
- defination of all standard c programming language function
- Great Question-Answer on c programming
- know what your c code means
- Limition of c programming language
- List of all version of c programming language
- Online c compiler
- php freelancing work
- some more stuff on C programming language
- Volatile Keyword in Embedded System
- Write Android application in c language