fork(1) download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main(void) {
  5. char cisla[30] = "1230954";
  6.  
  7. int zbytek = atoi(cisla + 3);
  8.  
  9. printf("%d\n", zbytek);
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 2052KB
stdin
Standard input is empty
stdout
954