In C, semicolons (;) are used to indicate the end of the statement. Why do #include lines not need a semicolon?
;
#include
#include (and all other lines beginning with # like #define) is part of the preprocessor. This is actually a separate programs that runs before the main compiler and does things like include files into the source and macro expansion.
#
#define
1.4m articles
1.4m replys
5 comments
57.0k users