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.
Define when we should use a linked list instead of an array.
Explain binary tree?
How is this possible to insert different type of elements within a stack?
Give a small description of the term Arrays?
What is win-win spiral model?
Give a brief description of the term Merge Sort?
What are the differences between Base case and Run-Time Stack?
Briefly describe the term B tree?
Illustrates the types of matrix operations?
Briefly describe the term sequential search? And also write down the average number of comparisons in a sequential search?
18,76,764
1931480 Asked
3,689
Active Tutors
1454478
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!