48 switch int main(){float a=1;switch(a){case 1:printf("%f",a);break;defualt:printf("Default");}return 0;}Output:Compilation ErrorLOGICwe can use only integer constants or character constants in switch case. We can't use float values in switch case. Share this Share on FacebookTweet on TwitterPlus on Google+ Related Posts562148