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 is selection sort in c?
#include<stdio.h> void main() { int a=5,b=6,c; int x=(a<b)+7; int y=(x==7)*9; int z=(c=x+y)*2; printf("%h %h %h",x,y,z); } What is the output? Explain it.
Is boolean a datatype in c?
How we can insert comments in a c program?
What is meaning of "Void main" in C Language.
24 Answers Ford, GU, HCL, IBIBS, JUW, TCS,
Struct(s) { int a; long b; } Union (u) {int a; long b; } Print sizeof(s)and sizeof(u) if sizeof(int)=4 and sizeof(long)=4
How many ways are there to swap two numbers without using temporary variable? Give the each logic.
What does it mean when the linker says that _end is undefined?
What is a program?
When a c file is executed there are many files that are automatically opened what are they files?
What is the difference between int and float?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)