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 |
What do you mean by keywords in c?
Do pointers take up memory?
void main() { int i=5; printf("%d",i+++++i); }
a<<1 is equivalent to a) multiplying by 2 b) dividing by 2 c) adding 2 d)none of the above
What will be the output of the following program #include<stdio.h> void main() { int i=20; i-=i+++++i++; printf("%d",i); }
write a program that eliminates the value of mathematical constant e by using the formula e=1+1/1!+1/2!+1/3!+
Differentiate between a for loop and a while loop? What are it uses?
how many errors in c explain deply
Are c and c++ the same?
How to compare array with pointer in c?
What does s c mean in text?
String concatenation