what is the main difference between c and c++?
Answer Posted / abhishek gautam
C is a procedural programming language whereas C++ is an
object oriented programming language
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How long to learn object oriented programming?
What are the three main types of variables?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
Why do we use class?
What is the difference between a mixin and inheritance?
Can a varargs method be overloaded?
What is encapsulation example?
What is abstract class in oop?
Can you inherit a private class?
What is object and class in oops?
explain sub-type and sub class? atleast u have differ it into 4 points?
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.
Can main method override?
What do you mean by variable?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)