Why we are use # in begning of programme of c++.

Answers were Sorted based on User's Feedback



Why we are use # in begning of programme of c++...

Answer / supriya

#include instruction will include the definitions of all
predefined functions of the header file that is specified
with this instruction before the program is made executable

Is This Answer Correct ?    8 Yes 0 No

Why we are use # in begning of programme of c++...

Answer / durga.g

# is used to include the headerfiles or predefined files
into our programme.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More OOPS Interview Questions

What is the correct syntax for inheritance? 1) class aclass : public superclass 2) class aclass inherit superclass 3) class aclass <-superclass

6 Answers   Wipro,


How Do you Code Composition and Aggregation in C++ ?

3 Answers   IBM, NET,


Why multiple inheritance is not possible?

0 Answers  


Tell us about yourself.

47 Answers   ABB, Amazon, Fidelity, Flextronics, Franklin Templeton, HCL, Hexaware, IBM, Impetus, Infosys, Reliance, Rofous, Silgate, Sutherland, TCS, Thomson Reuters, Virtusa, Wipro,


What are generic functions and generic classes?

5 Answers  






Why is destructor used?

0 Answers  


What is use of overloading?

0 Answers  


What is inheritance in simple words?

0 Answers  


Can java compiler skips any statement during compilation time?

0 Answers  


what is multi level inheritance give n example ?

13 Answers   HDFC, Hulas Steel, Ness Technologies,


where is memory for struct allocated? where is memory for class-object allocated? I replied for struct in stack and for class-object in heap. THen he asked if class has struct member variable what happens.class on heap and what about struct in that class? couldnt ans :( :-?

2 Answers   Infosys, Microsoft,


Why do we use polymorphism?

0 Answers  


Categories