Why we are use # in begning of programme of c++.
Answers were Sorted based on User's Feedback
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 |
Answer / durga.g
# is used to include the headerfiles or predefined files
into our programme.
Is This Answer Correct ? | 2 Yes | 0 No |
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?
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)
Why do we use inheritance?
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?.
Why do we use polymorphism in oops?
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?
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.
how to get the oracle certification? send me the answer
What is polymorphism used for?
What is abstract class in oops?