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

What is selection sort in c?

0 Answers  


#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.

8 Answers   IBM,


Is boolean a datatype in c?

0 Answers  


How we can insert comments in a c program?

0 Answers  


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

2 Answers   Mascot,


How many ways are there to swap two numbers without using temporary variable? Give the each logic.

9 Answers  


What does it mean when the linker says that _end is undefined?

0 Answers  


What is a program?

0 Answers  


When a c file is executed there are many files that are automatically opened what are they files?

0 Answers  


What is the difference between int and float?

3 Answers  


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)

0 Answers   Subex,


Categories