What's the difference between a linked list and an array?

Answer Posted / shilpa

array is static ,where we need to intialize the size in
starting , but linkelist is dynamic , we can dynamically
add the any variable in to the list

Is This Answer Correct ?    15 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the argument of a function in c?

590


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

780


What is volatile c?

537


Explain how do I determine whether a character is numeric, alphabetic, and so on?

666


Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

3703






Is there any demerits of using pointer?

643


a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list

645


What is property type c?

615


which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;

2474


Explain #pragma statements.

614


Can variables be declared anywhere in c?

634


Difference between macros and inline functions? Can a function be forced as inline?

724


Difference between strcpy() and memcpy() function?

694


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

15076


What is c variable?

567