Name an advantage of linked list over array?
Answer Posted / amandeep singh bhatia
In array we can directly access any element by index number
but in Linked list it is not possible,in linked list if we
want to access any element then we go from starting node.
Is This Answer Correct ? | 12 Yes | 8 No |
Post New Answer View All Answers
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 meant by multiple inheritance?
What is advantage of inheritance?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
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?
What are the features of oop?
How is class defined?
What is overloading and its types?
What is difference between class and object with example?
what's the basic's in dot net
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
Can we define a class within the interface?
Why is encapsulation used?
How can you overcome the diamond problem in inheritance?
What is the difference between abstraction and polymorphism?