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 / 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

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

Answer / prakash

none are correct

Is This Answer Correct ?    0 Yes 7 No

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

Answer / kuamr

b

Is This Answer Correct ?    0 Yes 8 No

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

Answer / selva kuamr

c

Is This Answer Correct ?    0 Yes 8 No

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

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

Post New Answer

More C Interview Questions

can we change the default calling convention in c if yes than how.........?

0 Answers   Aptech,


Can variables be declared anywhere in c?

0 Answers  


int array[]={1,2,3,4,5,6,7,8}; #define SIZE (sizeof(array)/sizeof(int)) main() { if(-1<=SIZE) printf("1"); else printf("2"); }

2 Answers   Vector,


Can you explain the four storage classes in C?

0 Answers   TCS,


How does struct work in c?

0 Answers  


hello everybody can we change a the adress of a variabl i mean can i put for exemple for a int *p: &p=6 ?????????

1 Answers  


What does c value mean?

0 Answers  


Why the use of alloca() is discouraged?

2 Answers   Oracle,


What is c method?

0 Answers  


How can you avoid including a header more than once?

0 Answers  


How to print %d in output

6 Answers   Wipro,


Explain command-line arguments in C.

1 Answers  


Categories