가능한 중복 :
What is the difference between a definition and a declaration?C에서 선언 == C++에서 정의 하시겠습니까?
그것은 그 C에서 선언 정확한지는 C++에서 정의 할 수와 같다?
int a; /* to declare variabel a in C */
int b = 2; /* to declare and initialize in C */
int c; // to define in C++
int d = 4; // to define and initialize in C++
위도 : http://stackoverflow.com/questions/1410563/what-is-the-difference-between-a-definition-and-a-declaration –
_ C에서 선언하는 것과 C++? _ 아니요, 그건 말이 안됩니다. 선언과 정의는 두 가지 다른 용어입니다. 모든 정의는 선언이지만 모든 선언은 정의가 아닙니다. 더 많은 정보를 얻으려면 내가 준 링크를 클릭하십시오. –