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 / rajesh
correct answer is C) because file.h is not a predefined
headerfile by c/c++ compiler, so it is a userdefined
headerfile and it can be included in a program in any of
the ways as mentioned in option c).
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What is a stream in c programming?
What is static memory allocation?
What is the full form of getch?
What is scope rule of function in c?
Why we not create function inside function.
Can you define which header file to include at compile time?
What are conditional operators in C?
How do you define a function?
What are the different file extensions involved when programming in C?
Why we use stdio h in c?
Explain how can I convert a number to a string?
What is break statement?
What is a macro in c preprocessor?
What is the sizeof () a pointer?
What are the different types of endless loops?