Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the use of using linked list and array?

Answers were Sorted based on User's Feedback



what is the use of using linked list and array?..

Answer / rani

Linked list has an overhead cost of maintaining reference
pointers it uses. They too consume lot of memory. And this
cost is more in case of doubly linked lists.

Linked lists always provide sequential access. While arrays
give random access.

Is This Answer Correct ?    6 Yes 2 No

what is the use of using linked list and array?..

Answer / vaishnavi varadarajan

Use of array: All the elements are lumped together in one
block of memory. Individual elements can be accessed thru
Array index. Random access & Dynamic allocation are
possible.

Use of Linked list: Linked list allocates space for each
element separately in its own block of memory called
a "linked list element" or "node". It gets the overall
structure by using pointers to connect all its nodes
together like the links in a chain. Here the elements of
list can be accessed thru memory address (Since the pointer
stores a reference to another variable)which improves the
efficiency. Size of the list can also be modified (ie) we
can insert/delete elements of the list.

Is This Answer Correct ?    2 Yes 1 No

what is the use of using linked list and array?..

Answer / pradeep singh bahdari

it is not possible to declare variables for each and every
data items in the memory it takes too much time and
increases the size of code and it will be cumbersome to use
these variables

Is This Answer Correct ?    2 Yes 1 No

what is the use of using linked list and array?..

Answer / ananth

By using the linked list we can allocate definite memory
space for variables.But in array cannot allocate definite
memory space.

Is This Answer Correct ?    3 Yes 3 No

what is the use of using linked list and array?..

Answer / m.madhu sudhan

we can decrease our time complexcity and allocate
[particular memory place for give variable,this is not
possible in the arrays.this is my ans.......

Is This Answer Correct ?    1 Yes 1 No

what is the use of using linked list and array?..

Answer / raj

in linked list reduse time complexit,we can easily delete
element from thaa list,it dynamicaly allocating the memory
in array it will use wast memory for declaration ex arr[50]
u r going to declare only 10 elements then it is waste of
memory......... but for search array is good it can easly
go which element u r give for search..........

Is This Answer Correct ?    0 Yes 0 No

what is the use of using linked list and array?..

Answer / kunal

because they decrease the time complexity of the program we
have to do.

Is This Answer Correct ?    1 Yes 2 No

what is the use of using linked list and array?..

Answer / manju

In Linked list we can insert or delete the elements at any
position,which is not possible in arrays and arrays are of
fixed size,but linked lists are not have a definite length.
we can dynamically allocate the size of linked list with
out wastage of memory...

Is This Answer Correct ?    4 Yes 5 No

what is the use of using linked list and array?..

Answer / 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

what is the use of using linked list and array?..

Answer / nalini

No

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More C Interview Questions

What is the general form of a C program?

0 Answers  


wat are the two methods for swapping two numbers without using temp variable??

2 Answers  


Is boolean a datatype in c?

0 Answers  


2. Counting in Lojban, an artificial language developed over the last fourty years, is easier than in most languages The numbers from zero to nine are: 0 no 1 pa 2 re 3 ci 4 vo 5 mk 6 xa 7 ze 8 bi 9 so Larger numbers are created by gluing the digit togather. For Examle 123 is pareci Write a program that reads in a lojban string(representing a no less than or equal to 1,000,000) and output it in numbers.

3 Answers   Nagarro,


what defference between c and c++ ?

6 Answers  


which of the following statements is incorrect a.typedef struct new{ int n1; char n2; } DATA; b.typedef struct { int n3; char *n4; }ICE; c.typedef union { int n5; float n6; } UDT; d.#typedef union { int n7; float n8; } TUDAT;

5 Answers   Assurgent, TCS,


What is the difference between a free-standing and a hosted environment?

0 Answers   Aspire,


Which is more efficient, a switch statement or an if else chain?

0 Answers  


Please provide question papers of NATIONAL INFORMATICS CENTRE for Scientific officer

0 Answers  


a=(1,2,3); b=1,2,3; c=1,(2,3); d=(1,2),3; what's the value of 'a','b','c','d'

2 Answers  


What is the use of volatile?

0 Answers  


WHAT IS PRE POSSESSORS?

6 Answers   TATA,


Categories