프로그래밍/C, C++ 공부

왜 strchr의 두번째 인자는 char가 아닌 int일까?

Valentyne 2018. 2. 25. 19:58

https://stackoverflow.com/questions/2394011/why-does-strchr-take-an-int-for-the-char-to-be-found


요약 : short, char 등이 파라메터로 들어갈 때 int로 승격되던 C의 잔재

저작자표시 비영리 동일조건 (새창열림)