fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. char op1;
  5. scanf("%c", &op1);
  6.  
  7. switch (op1) {
  8. case '+':
  9. printf("ola");
  10. }
  11. return 0;
  12. }
Success #stdin #stdout 0s 2164KB
stdin
+
stdout
ola