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.
Briefly describe the term Bubble Sort and Quick sort?
Is it possible to insert the various types of elements in a stack? Explain how?
Briefly describe the term queue operation?
Is it probable to insert dissimilar type of elements in stack?
Elucidate quick sort and merge sort algorithms?
What are the applications where stacks are used?
What are the differences between data structure of System R and the relational structure?
Define the term limitations of arrays.
Explain binary tree in brief.
18,76,764
1955049 Asked
3,689
Active Tutors
1445365
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!