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"

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

2134


What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?

1273


Can you add pointers together? Why would you?

1076


How can you return multiple values from a function?

1054


Write a program to know whether the input number is an armstrong number.

1074


What are the two types of functions in c?

945


Why should I prototype a function?

1122


please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com

1727


write a program to print data of 5 five students with structures?

2009


How can I invoke another program (a standalone executable, or an operating system command) from within a c program?

1135


Explain how does flowchart help in writing a program?

1064


How is pointer initialized in c?

979


What will the code below print when it is executed?   int x = 3, y = 4;         if (x = 4)                 y = 5;         else                 y = 2;         printf ("x=%d, y=%d ",x,y);

1818


What is pass by reference in c?

1148


What does it mean when a pointer is used in an if statement?

1064