What's the difference between a linked list and an array?
Answer Posted / amneh tanbouz
Link list data is not stored in a contiguous memory, while
an array is a contiguous block of memory that is set aside
to store items of a single data type. also Linked list use
only the amount of memory required to store the data. An
array grabs a block of memory but may not use all of it for
actual storage data.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
What is the right way to use errno?
Does c have function or method?
What is a list in c?
Why & is used in scanf in c?
What is identifiers in c with examples?
What is the size of a union variable?
Explain a pre-processor and its advantages.
Are the variables argc and argv are local to main?
When would you use a pointer to a function?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
How can I recover the file name given an open stream?
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
Can we compile a program without main() function?