Notes
This function is in beta test. Please help improve it in the issues
here.
$ ./ex3_memory_check rand_char*.txt rand reading rand_char*.txt 0 Data: aawkq 1 Data: mglz 2 Data: otkr 3 Data: hwix 4 Data: gpa 5 Data: xdfvkc 6 Data: bcykf 7 Data: dkug 8 Data: yoi 9 Data: wwy 10 Data: wb 11 Data: uuwpk 12 Data: dpc 13 Data: zn 14 Data: tva 15 Data: ry 16 Data: lyg 17 Data: hwjsz 18 Data: jqxdf 19 Data: hw 20 Data: n 21 Data: jf 22 Data: kqi 23 Data: hopm 24 Data: ipt 25 Data: tbd 26 Data: is 27 Data: jvlil 28 Data: zjlvkx 29 Data: apd 30 Data: hcmuz 31 Data: bw 32 Data: fbga 33 Data: yryv 34 Data: bi 35 Data: hixvd 36 Data: swj 37 Data: wu 38 Data: mj 39 Data: zahaj 40 Data: oqc 41 Data: vs 42 Data: vmpagxsw 43 Data: ack 44 Data: hudpadn 45 Data: eqosw 46 Data: k 47 Data: coyyaqdw 48 Data: cop 49 Data: fm 50 Data: dszvouo 51 Data: tzu 52 Data: u 53 Data: brs 54 Data: kky 55 Data: gzzm 56 Data: mjf 57 Data: vtvnut 58 Data: vd 59 Data: sgt 60 Data: xqmzfj 61 Data: vnvh 62 Data: zep 63 Data: xdfc 64 Data: ftt 65 Data: vb 66 Dat
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Runtime Error. And the exit code of your program is 243, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
Program exit with non zero value -13!
JOJ Answer
Correct!