what is the difference between arrays and linked list

Answer Posted / debiprasad

in array an element does not contain the reference of next
element.where in link list each element contain reference of
each node.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you convert integers to binary or hexadecimal?

611


Explain union. What are its advantages?

612


Can I initialize unions?

585


What is array in c with example?

610


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

2115






What does it mean when a pointer is used in an if statement?

596


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

603


How can I handle floating-point exceptions gracefully?

630


Whats s or c mean?

591


Explain how can I make sure that my program is the only one accessing a file?

617


What are the main characteristics of c language describe the structure of ac program?

604


How can I automatically locate a programs configuration files in the same directory as the executable?

624


What is indirection?

645


Explain logical errors? Compare with syntax errors.

618


What is sizeof in c?

565