Question: what is the difference between include and import?
Answer: Import will paste the compiled output of the header file instead of the entire code. Include will directly paste the entire header file contents and hence they are to be compiled. ... #include directive makes the compiler go to the C/C++ standard library and copy the code from the header files into the program.