Which of the following are valid "include" formats?
A)#include and #include[file.h]
B)#include (file.h) and #include
C)#include [file.h] and #include "file.h"
D)#include <file.h> and #include "file.h"

Answer Posted / jj

ans-d.

1st one searches from current directory,
2nd one searches from list of directories specified in
inlcude path

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell us the use of fflush() function in c language?

631


What is keyword in c?

594


How can I check whether a file exists? I want to warn the user if a requested input file is missing.

649


What is gets() function?

661


What is c mainly used for?

591






Is swift based on c?

629


How can I discover how many arguments a function was actually called with?

628


What is a pragma?

660


Can include files be nested? How many levels deep can include files be nested?

649


For what purpose null pointer used?

601


Explain the difference between exit() and _exit() function?

628


i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....

1512


What are the 4 types of organizational structures?

616


Do you know what are the properties of union in c?

575


How would you rename a function in C?

612