Difference b/w .c and .h

Just searched some pages on google, I conclude following tips:

1..h files only contain declarations, .c contain definitions. In other words, .h don't use memory but .c use.

2..h is interpreted during pompilation time.

3..h is like interface , it only servers definition rather than execution.

原文地址:https://www.cnblogs.com/songwanzi/p/3390286.html