Name an advantage of linked list over array?
Answer Posted / manoj kumar jha
1. Array size is fix and cannot change at run time,But in
link list we can create memory accoring to requirement.
2. In array we define but at the run time it is not used so
in that case memory is waste.
| Is This Answer Correct ? | 44 Yes | 3 No |
Post New Answer View All Answers
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.
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What is the importance of oop?
Why do we need polymorphism in c#?
How do you achieve polymorphism?
What is destructor oops?
What is use of overloading?
What is property in oops?
What is the difference between encapsulation and polymorphism?
can we make game by using c
Can we create object of interface?
What is difference between polymorphism and inheritance?
What is constructor overloading in oop?
What is new keyword in oops?
What is encapsulation with real life example?