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

do u print this format '(((())))'. This brackets is based on user input like 4 or 5 or 6,without using any loop's?

1 Answers   Oracle,


Which control loop is recommended if you have to execute set of statements for fixed number of times?

0 Answers  


There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side? Upload a C program to demonstrate the behaviour of the game.

2 Answers  


Differentiate between calloc and malloc.

0 Answers   Wipro,


write a program to swap bits in a character and return the value prototype of function char fun (char a, charb flag c) where fun returns a char, char a is a the value char b is the bit to be changed and flag c is the bit value for eg: x=fun(45,7,0) since 45 is 0010 0101 and ow x should contain the value 65 (0110 0101)

1 Answers   Bosch, College School Exams Tests,


#include<stdio.h> #include<conio.h> void main() { clrscr(); int a=0,b=0,c=0; printf("enter value of a,b"); scanf(" %d %d",a,b); c=a+b; printf("sum is %d",c); getch(); }

2 Answers  


Explain the use of #pragma exit?

0 Answers  


how can we print  hellow world programme without using semicolon

3 Answers  


How is a null pointer different from a dangling pointer?

0 Answers  


What is self-referential structure in c programming?

0 Answers  


What is the meaning When we write "#include" what is # and what does include does there???

22 Answers   HCL, Wipro,


How do I copy files?

0 Answers  


Categories