I have this code:
#include int main() { int a=10; switch(a) { case \'1\
tip: if you are using gcc, add the option -pedantic. it will warn you for unused labels:
gcc
-pedantic
$ gcc -ansi -Wall -pedantic test.c -o test test.c: In function ‘main’: test.c:14:10: warning: label ‘defalut’ defined but not used