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

Answer Posted / ashish chauhan

A linked list consists of data nodes, each pointing to the
next in the list. An array consists of contiguous chunks
memory of predetermined size

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you write a program which produces its own source code as output?

612


What is far pointer in c?

815


what are enumerations in C

726


Describe the header file and its usage in c programming?

624


Is that possible to store 32768 in an int data type variable?

696






Why main function is special give two reasons?

955


Explain the Difference between the New and Malloc keyword.

690


What is the use of void pointer and null pointer in c language?

635


write a program to copy the string using switch case?

2404


c program to compute AREA under integral

1818


stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

1858


Where is c used?

656


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

608


Why is struct padding needed?

639


What does return 1 means in c?

591