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"
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / selva kumar
In c we didnt have the header files which is enclosed with
double codes.so the answer is A
| Is This Answer Correct ? | 1 Yes | 10 No |
can we change the default calling convention in c if yes than how.........?
Can variables be declared anywhere in c?
int array[]={1,2,3,4,5,6,7,8}; #define SIZE (sizeof(array)/sizeof(int)) main() { if(-1<=SIZE) printf("1"); else printf("2"); }
Can you explain the four storage classes in C?
How does struct work in c?
hello everybody can we change a the adress of a variabl i mean can i put for exemple for a int *p: &p=6 ?????????
What does c value mean?
Why the use of alloca() is discouraged?
What is c method?
How can you avoid including a header more than once?
How to print %d in output
Explain command-line arguments in C.