fork(1) download
  1. # include <stdio.h>
  2.  
  3. int main() {
  4. char lettre[2];
  5. scanf("%c", lettre);
  6. printf("%c\n", lettre);
  7. if (lettre == 'v') {
  8. printf("lettre == v");
  9. }
  10. else {
  11. printf("ko : %c", lettre);
  12. }
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 2172KB
stdin
v
stdout
�
ko : �