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
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
Can you add pointers together? Why would you?
How can you return multiple values from a function?
Write a program to know whether the input number is an armstrong number.
What are the two types of functions in c?
Why should I prototype a function?
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
write a program to print data of 5 five students with structures?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
Explain how does flowchart help in writing a program?
How is pointer initialized in c?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
What is pass by reference in c?
What does it mean when a pointer is used in an if statement?