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 a virtual class?

5 Answers   Cap Gemini, IBM, Infosys, Trinity Technologies,


What is Agile methodology?

20 Answers   ABC, Accenture, College School Exams Tests, Inmar, Microsoft, Sapient,


c++ is a purely oop concept?

3 Answers   Google, TCS,


1. Wrie a function which returns the most frequent number in a list of integers. Handle the case of more than one number which meets this criterion. public static int[] GetFrequency(int[] list)

1 Answers   Nagarro,


Why do we use inheritance?

0 Answers  






Base class has two public data members. How can i derive a new class with one datamember as public and another data member as private?.

2 Answers  


Why do we use polymorphism in oops?

0 Answers  


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

0 Answers   HCL,


Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.

0 Answers  


how to get the oracle certification? send me the answer

0 Answers   Oracle,


What is polymorphism used for?

0 Answers  


What is abstract class in oops?

0 Answers  


Categories