what is the difference between class and structure in C++?
Answer Posted / naveen tuteja
We can declare a structure without a name tag but we cannot
declare a class without name tag.
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What is polymorphism what are the different types of polymorphism?
What is difference between oop and pop?
What is meant by oops concept?
Can bst contain duplicates?
What is abstraction in oops?
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.
Why multiple inheritance is not allowed?
What does and I oop mean in text?
Templates mean
Can private class be inherited?
What is encapsulation example?
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 overloading and its types?
What is object and example?
What is multilevel inheritance?