fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a;
  5. printf("enter the value of a");
  6. scanf("%d",a);
  7. switch(a){
  8. case 1:
  9. printf("you've enterd the first case ");
  10. }
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 5256KB
stdin
Standard input is empty
stdout
enter the value of a