Record Detail

Compile Error

/in/inDictionary.c: In function 'main':
/in/inDictionary.c:8:10: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
     a[0] = *(argv+1);
          ^
/in/inDictionary.c:21:22: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
                 a[m] = *(argv+i+1);
                      ^
/in/inDictionary.c:24:13: error: suggest parentheses around assignment used as truth value [-Werror=parentheses]
         if (k=0)
             ^
cc1: all warnings being treated as errors

Information

Submit By
Type
Submission
Problem
mid2 ex1
Homework
Mid2
Language
C
Submit At
2023-07-13 15:17:47
Judged At
2023-08-05 22:15:00
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes