Declaration statement-memory is reserve
When using a declaration statement how memory is reserved?
Expert
Memory is reserved by using data type in variable declaration. A programming language execution has predefined sizes for its data types.
For illustration, in C# the declaration int i; will reserve 32 bits for variable i.
A pointer declaration reserves memory for address or pointer variable, however not for the data that it will point to. The memory for the data pointed by the pointer has to be assigned at runtime.
The memory reserved by compiler for simple variables and for storing pointer address is assigned on stack, while the memory allocated for pointer referenced data at runtime is allocated on heap.
What do you mean by sequential search? Find out the average number of comparisons in the sequential search?
Write down the demerits of circular linked list over linear linked list?
Define the types of an algorithm.
Explain the case tools?
What are the dvantages of single linked list over doubly linked list?
Explain the term stack operation. Also write some of its operations.
Define the fastest sorting method to use?
Explain about the merge sort algorithm.
Briefly describe the term Bubble Sort and Quick sort?
Specify the actions which are performed when a function is called?
18,76,764
1947151 Asked
3,689
Active Tutors
1451973
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!