int MyFunc(int Val1 = 0, int Val2, int Val3);



vs




void MyFunc(int Val1, int Val2 = 0, char Val3 = 0);







위에거는 에러나고 밑에거는 가능한데 왜 1번은 에러나는거임?