✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Az alábbi Stack struktúra és isFull függvény alapján mely állítás(ok) igazak?
typedef struct { int capacity; int top; int *elements;
}Stack;
bool isFull(Stack stack) { return stack.top == stack.capacity-1;