42_EXAM
42_EXAM copied to clipboard
STUD_PART/exam_02/1/do_op /do_op.c - division by 0
In case of division the n2 shouldn't be null So there should be something like this on the 21th line:
else if (av[2][0] == '/' && n2 != 0)
and then what to do if the n2 == 0
And thanks for this 42 exam tester of course!