what is the main difference between c and c++?
Answer Posted / g.santhoshini
In c there is a limit for length of identifier should not
preceeded more than 8 characters where as in c++ there is no
limit for length of identifiers.
and in c the file is saved with the extension .c ,in c++ the
file extension is .cpp.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is polymorphism in oops with example?
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.
What are the three main types of variables?
What is polymorphism programming?
What is overriding vs overloading?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What is polymorphism what is it for and how is it used?
What is a class and object?
Why it is called runtime polymorphism?
What are benefits of oop?
State what is encapsulation and friend function?
write string class as your own class in java without using any built-in function
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
What is abstract class in oops?
What is polymorphism oop?