what is the difference between arrays and linked list

Answer Posted / manikandan.s

Array is a collection of similar data-items and stored in sequence order with fixed size of memory.

But lined list contains collection of node. Each node link between other node and pointer is used to identify the position. Node consists of element and address of next element.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between MAC vs. IP Addressing

637


How do you print an address?

741


Where define directive used?

602


I came across some code that puts a (void) cast before each call to printf. Why?

675


I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.

1905






Discuss the function of conditional operator, size of operator and comma operator with examples.

676


Explain what is a 'locale'?

581


The __________ attribute is used to announce variables based on definitions of columns in a table?

669


Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.

2645


What is nested structure?

569


How do I swap bytes?

627


What is NULL pointer?

671


What is c programming structure?

616


What do you understand by friend-functions? How are they used?

641


Is there any possibility to create customized header file with c programming language?

619