fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int a;
  6. printf("该整数的个位数为:\n");
  7. printf("%d",a%10);
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 5320KB
stdin
372
stdout
该整数的个位数为:
0