Which of the following is a directive used to create an "include guard" that allows a program to be conditionally compiled to prevent a header file from accidentally being included more than once?

a. #include
b. #guard
c. #ifndef
d. #endif
e. None of these


c. #ifndef

Computer Science & Information Technology

You might also like to view...

The Date function has the form ____.

A. Date() B. Date: C. [Date] D. (Date)

Computer Science & Information Technology

The most direct way to find potential employment on LinkedIn is to search the LinkedIn Careers database

Indicate whether the statement is true or false

Computer Science & Information Technology

What is the best and easiest way to locate a section break in a document?

A) Change to Page Layout view B) Click the Header & Footer Tools tab C) Change to Draft view D) Click the Link to Previous button

Computer Science & Information Technology

You are responding to an email from an irate customer. The reply is as follows: "I am sorry the computer locked up again. I will be happy to take a look at the computer again tomorrow. It is probably your CPU or your RAM. Of course, it could always be the darn motherboard. I can be there at 2 P.M. TOMORROW if that is convenient with you. You can either EMAIL me or I will check with you later

today to see whether that works with your schedule. :)" This is an example of proper written communication. Indicate whether the statement is true or false

Computer Science & Information Technology