Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



Which of the following are valid "include" formats? A)#include and #include[file.h] B)#i..

Answer / safish

D

Is This Answer Correct ?    21 Yes 0 No

Which of the following are valid "include" formats? A)#include and #include[file.h] B)#i..

Answer / gopichandar

d

Is This Answer Correct ?    9 Yes 0 No

Which of the following are valid "include" formats? A)#include and #include[file.h] B)#i..

Answer / jj

ans-d.

1st one searches from current directory,
2nd one searches from list of directories specified in
inlcude path

Is This Answer Correct ?    6 Yes 1 No

Which of the following are valid "include" formats? A)#include and #include[file.h] B)#i..

Answer / rakshitha

Ans is D.. that is #include<file.h> and #include "file.h"

Is This Answer Correct ?    3 Yes 0 No

Which of the following are valid "include" formats? A)#include and #include[file.h] B)#i..

Answer / santosh

ans is d optioon because in c
we write hedder files in the following format,
#include<stdio.h>
#include "stdio.h"
there can be many number of file names.
above both formats are correct.

Is This Answer Correct ?    3 Yes 1 No

Which of the following are valid "include" formats? A)#include and #include[file.h] B)#i..

Answer / shikhar

Usha, please donot write WRONG ANSWERS without
confirming....it is not a good practice...thx
The correct answer is D

Is This Answer Correct ?    2 Yes 1 No

Which of the following are valid "include" formats? A)#include and #include[file.h] B)#i..

Answer / rima

the ans is d.

Is This Answer Correct ?    2 Yes 1 No

Which of the following are valid "include" formats? A)#include and #include[file.h] B)#i..

Answer / shrinidhhi

Ans is "D".

Is This Answer Correct ?    1 Yes 1 No

Which of the following are valid "include" formats? A)#include and #include[file.h] B)#i..

Answer / belsia

The answer is "D".Because in c it is possible to use
double codes in the header file.so the correct
answers are
#include<file.h>
#include<"file.h"

Is This Answer Correct ?    1 Yes 1 No

Which of the following are valid "include" formats? A)#include and #include[file.h] B)#i..

Answer / usha

none are correct

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More C Interview Questions

Why do we use stdio h and conio h?

0 Answers  


Write the program for displaying the ten most frequent words in a file such that your program should be efficient in all complexity measures.

3 Answers   Google,


Explain threaded binary trees?

0 Answers  


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

0 Answers  


differentiate between const char *a; char *const a; and char const *a;

2 Answers   College School Exams Tests, HCL, TCS,


What is pointer to pointer in c?

0 Answers  


An entire structure variable can be assigned to another structure variable if __________

3 Answers   Sasken, TCS, Tech Mahindra, Wipro,


1. main() { printf("%d",printf("HelloSoft")); } Output?

3 Answers   HCL,


How can I call a function, given its name as a string?

4 Answers   ABC Telecom,


What are the 5 types of inheritance in c ++?

0 Answers  


Difference between linking and loading?

0 Answers  


write a program in reverse the string without using pointer,array,global variable declaration,lib fun only using a function?

5 Answers   HCL,


Categories