Question

Consider a stack implemented using a fixed-size array in C or Java. What is the primary concern when performing a push operation?

A Memory fragmentation.
B Stack underflow.
C Array index out of bounds (stack overflow).
D Inefficient memory allocation.
E Cache miss penalty.
Practice Next

Hey! Ask a query