what is the difference between arrays and linked list

Answer Posted / bhumika garg

the main difference is that in array data is not linked to
each other but in linked lists data is connected to each
other as every node is connected to previous node.

Is This Answer Correct ?    47 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

738


Is malloc memset faster than calloc?

605


What is function definition in c?

579


Why we use void main in c?

587


Why c is faster than c++?

625






What is the right type to use for boolean values in c? Is there a standard type?

557


Is it better to bitshift a value than to multiply by 2?

652


Which programming language is best for getting job 2020?

602


Why do we use int main?

601


Why is c faster?

588


What does the c in ctime mean?

561


What is nested structure in c?

603


What is the general form of function in c?

607


What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }

694


What are pointers? Why are they used?

625