Array vs Linked List - UrbanPro
UrbanPro
true

Learn Advanced C++ from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Array vs Linked List

Umasankar Natarajan
13/06/2017 0 0
Array Linked List
Accessing element is easy. Accessing element is difficult compare to Array.
Easy to use. Difficult to use.
Memory is Fixed size. Memory is variable size.
If all the memories are not utilised, unused memory will be present. Memory will be allocated as much as required. No unused memory available.
As there is no pointer variable, no extra memory is required. Extra bytes of memory is required for Pointer varialble.
Memory will be available contiguously. Memory will be scattered.
In case of bigger array, large chunks of contiguous memory block is required. Multiple small chunks of memory block is enough.
Inserting / Deleting / Modifying an element is very easy. Inserting / Deleting / Modifying an element is difficult.

 

 

0 Dislike
Follow 0

Please Enter a comment

Submit

Other Lessons for You

C Program-Upper Case Demo
/*WAP to print the character entered by user in upper case*/ //Header files #include<stdio.h>#include<conio.h> //Main function void main(){ char ch; //Function for clearing screen clrscr(); ...
S

Necessity of Theory and Practical in Computer Science.
Upon studying a subject both theory and practical are important. Usually many schools concentrate more on theory and the marks not on the practical. Other and opposite kind of people prefer practical...

C PROGRAM FOR GENERATING SOUND
#include<stdio.h> #include<conio.h> #include<dos.h> void main() { sound(3000); // sound function have single parameter , this parameter we put integer value its generating...

V. Muthu Ganeshan

0 0
0

Why C is a Language and not a database?
When I interviewed a candidate, I raised this question many times, but I have not got the answer correctly. To under why C is a language and not a database, it is good to understand why our communication...

Memory Layout of C Programs
A typical memory representation of C program consists of following sections. Text Segment: A text segment, also known as a code segment or simply as text, is one of the sections of a program in an object...

Looking for Advanced C++ ?

Learn from Best Tutors on UrbanPro.

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more