what is the use of using linked list and array?

Answer Posted / harsh srivastava

Linked List and array both are used continuous allocation of
memory. When we want to assign too many same type of data
sequentially into memory, at that time we use the Linked
list and array because taking separate variable for each
data is tedious and time consuming so we use the Linked list
and arrays.

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What functions are used for dynamic memory allocation in c language?

597


A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?

1768


Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

1758


Explain how can I write functions that take a variable number of arguments?

606


write a program in c language to print your bio-data on the screen by using functions.

6239






Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff

2236


What is the purpose of macro in C language?

657


Do you know the use of 'auto' keyword?

652


Write a program to print all permutations of a given string.

638


Can we declare a function inside a function in c?

576


regarding pointers concept

1564


Differentiate between Macro and ordinary definition.

722


What is a nested formula?

599


What is void pointers in c?

582


What is the difference between new and malloc functions?

573