Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which of the following is the correct syntax of including a user defined header files in C++?

a) #include <userdefined>
b) #include <userdefined.h>
c) #include “userdefined”
d) #include [userdefined]

Answer: c
Explanation: C++ uses double quotes to include a user-defined header file. The correct syntax of including user-defined is #include “userdefinedname”.

Join The Discussion