Browse Source

addedDefault

maxim_rogozh 2 days ago
parent
commit
e1e665eb5d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      main.c

+ 2 - 0
main.c

@@ -12,6 +12,8 @@ int main(void)
             printf("x = 2 \n");
         case 3: 
             printf("x = 3 \n");
+        default:
+            printf("x is not in case");
     }
     return 0;
 }