Record Detail

Compile Error

/in/mySqrt.c: In function 'mySqrt':
/in/mySqrt.c:33:20: error: 'ans' may be used uninitialized in this function [-Werror=maybe-uninitialized]
         while (ans *ans <= number) {
                ~~~~^~~~
cc1: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Midterm Exam 2
Language
C
Submit At
2022-07-07 15:00:31
Judged At
2022-07-08 16:06:04
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes