what is the difference between arrays and linked list

Answer Posted / priya

All elements of array stored in contiguous memory location.
While in case of linked list each node does not stored in
contiguous memory location

Is This Answer Correct ?    25 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }

668


Explain what is a 'locale'?

587


What are the standard predefined macros?

639


Can a file other than a .h file be included with #include?

688


Is there a way to jump out of a function or functions?

638






What are the types of macro formats?

613


How can I trap or ignore keyboard interrupts like control-c?

620


What is non linear data structure in c?

579


What is a double c?

595


How do you construct an increment statement or decrement statement in C?

747


Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

1472


The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

669


Is main a keyword in c?

635


Explain what is meant by high-order and low-order bytes?

637


Is swift based on c?

642