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 hash table in c?
Explain what is the difference between text files and binary files?
What is #line in c?
List some of the dynamic data structures in C?
Program to trim a given character from a string.
What is define directive?
write a function to find whether a string is palindrome or not and how many palindrome this string contain?
Is boolean a datatype in c?
What does & mean in scanf?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
why programs in c are running with out #include<stdio.h>? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }
Explain what is dynamic data structure?