공부했던것

[AVR]too few arguments to function '함수명'

파제르 2023. 3. 27. 09:44
반응형

too few arguments to function '함수명' 이란 error가 발생했을때...
함수명에 넣어주어야 하는 parameter의 개수보다 적게 넣어줄때 발생..

ex)
void test(char a, char b, char c)
{

}


void main()
...
..
..

test(a, b);        //뭐 이럴때 발생....(c가 없음)

 
728x90
반응형