Record Detail

Compile Error

/in/isSibling.c:1:1: error: unknown type name 'bool'; did you mean '_Bool'?
 bool isSiBling(const char* phrase1, const char* phrase2){
 ^~~~
 _Bool
/in/isSibling.c: In function 'isSiBling':
/in/isSibling.c:2:1: error: expected expression before '?' token
 ? ? int str[26] = {0};
 ^
/in/isSibling.c:3:1: error: expected expression before '?' token
 ? ? int count = 0;
 ^
/in/isSibling.c:4:1: error: expected expression before '?' token
 ? ? while(*phrase1){
 ^
/in/isSibling.c:31:1: error: expected expression before '?' token
 ? ? return true;
 ^
/in/isSibling.c:1:28: warning: unused parameter 'phrase1' [-Wunused-parameter]
 bool isSiBling(const char* phrase1, const char* phrase2){
                            ^~~~~~~
/in/isSibling.c:1:49: warning: unused parameter 'phrase2' [-Wunused-parameter]
 bool isSiBling(const char* phrase1, const char* phrase2){
                                                 ^~~~~~~
/in/isSibling.c:32:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

Information

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