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 hash table in c?

0 Answers  


Explain what is the difference between text files and binary files?

0 Answers  


What is #line in c?

0 Answers  


List some of the dynamic data structures in C?

0 Answers  


Program to trim a given character from a string.

5 Answers   NetApp,


What is define directive?

0 Answers  


write a function to find whether a string is palindrome or not and how many palindrome this string contain?

2 Answers   Aptech,


Is boolean a datatype in c?

0 Answers  


What does & mean in scanf?

0 Answers  


FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.

0 Answers   Wilco,


why programs in c are running with out #include<stdio.h>? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

0 Answers  


Explain what is dynamic data structure?

0 Answers  


Categories