What's the difference between a linked list and an array?
Answer Posted / noopur
We can allocate memory DYNAMICALLY in linked list where as
in array static allocation of memory is there. In array
contiguous memory allocation procedure is there where as in
linked list we can allocatememory where we want.
Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
How to declare pointer variables?
Is c call by value?
Explain how can you avoid including a header more than once?
What is atoi and atof in c?
Write program to remove duplicate in an array?
What is #include stdlib h?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.
Explain what are binary trees?
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
What is the significance of c program algorithms?
Why static is used in c?
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
What is a void pointer? When is a void pointer used?
How can you convert integers to binary or hexadecimal?