fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. char ch1,ch2;
  6. scanf("%c%c",&ch1,&ch2);
  7. printf("ch1这个字符是:%c",ch1);
  8. printf("ch2这个字符是:%c",ch2);
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0.01s 5288KB
stdin
-+
stdout
ch1这个字符是:-ch2这个字符是:+