what is the main difference between c and c++?
Answer Posted / selva kumar.r
In C we should declare the variables only at the top, i.e.,
after header files.
Wheares in C++ we can declare the variables wherever we are
in need.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Why do we use encapsulation in oops?
How many human genes are polymorphic?
Why do while loop is used?
How do you define social class?
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.
write a programe to calculate the simple intrest and compund intrest using by function overlading
What exactly is polymorphism?
Write a program to sort the number with different sorts in one program ??
What is meant by multiple inheritance?
write string class as your own class in java without using any built-in function
What is the real life example of polymorphism?
Why do we need polymorphism in c#?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What is difference between abstraction and encapsulation?
Is abstract thinking intelligence?