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

What is local and global variable in c?

0 Answers  


write a program to display numbers from 1 to 10 and 10 to 1?

2 Answers  


Why shouldn’t I start variable names with underscores?

0 Answers  


Write a program to generate prime factors of a given integer?

2 Answers  


player is good if the following conditions are satisfied: He is either from “India”, “Japan” or “Korea” He has a minimum of 3 years of experience He has won at least 3 major tournaments, and one of them must be "World Championship Tournament". He must know more than 10 techniques. (but see next question) If he knows less than 10 techniques, then he must be a world champion. His name contains at least 3 words. For example "Sachin Tendulkar" will not meet this condition. Write a method: boolean isGoodPlayer(String name, String country, int yearsExperience, String[] majorTournamentsWon, String[] techniques, boolean isWorldChampion) name country yearsExperience majorTournamentsWon techniques isWorldChampion

1 Answers  


How do I initialize a pointer to a function?

2 Answers  


How can I remove the leading spaces from a string?

0 Answers  


What does 2n 4c mean?

0 Answers  


What do you mean by command line argument?

0 Answers   TCS,


p*=(++q)++*--p when p=q=1 while(q<=6)

0 Answers   KINPOE,


what are the advantages of a macro over a function?

0 Answers   TCS,


Find if a number is power of two or not?

1 Answers  


Categories