CASE 1)
a + b + c = 2000
-> 오류
why? '='는 대입 연산자임
같다 할려면 '==' 써야함. ==수정해서 해결
반응형
'Programming Languages > C' 카테고리의 다른 글
(공부중)warning: conflicting types for built-in function ‘함수 이름’; expected ‘int(int)’ [-Wbuiltin-declaration-mismatch] (0) | 2022.12.04 |
---|---|
type of 'i' defaults to 'int' (0) | 2022.12.04 |
Linux | No such file or directory (0) | 2022.12.02 |
C2166 l-value가 const 개체를 지정합니다. E0137 식이 수정할 수 있는 lvalue여야 합니다. (0) | 2022.11.25 |
printf(stderr, "Fork Failed")의 오류 - printf / fprintf / sprintf (0) | 2022.11.19 |