Name an advantage of array over linked list?

Answer Posted / chandan

Linked List have an extra Overhead in its each node to
store the pointer to the next node.

Is This Answer Correct ?    67 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why reinterpret cast is considered dangerous?

1894


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1135


What is the full form of oops?

603


What is the difference between a constructor and a destructor?

604


What is the oops and benefits of oops programming?

547






What is encapsulation with example?

570


What does it mean when someone says I oop?

574


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.

687


Please send ford technologies placement paper 2 my mail id

1646


#include #include #include #include void select(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); select(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void select(char *items, int count) { register int a, b, c; int exchange; char t; for(a = 0; a < count-1; ++a) { exchange = 0; c = a; t = items[ a ]; for(b = a + 1; b < count; ++b) { if(items[ b ] < t) { c = b; t = items[ b ]; exchange = 1; } } if(exchange) { items[ c ] = items[ a ]; items[ a ] = t; } } } design an algorithm for Selection Sort

2056


Can abstract class have normal methods?

602


What is class and object in oops?

605


Are polymorphisms mutations?

691


What does enum stand for?

605


How to improve object oriented design skills?

565