answersLogoWhite

0

How do you double the capacity of stack in c?

Updated: 8/19/2019
User Avatar

Wiki User

12y ago

Best Answer

Something like this:

before: #define MAXALLOC 256

after: #define MAXALLOC 512

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you double the capacity of stack in c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What' s a double stack magazine?

A double stack magazine is a type of firearm magazine where the cartridges are stacked side by side in two columns, allowing more rounds to be held in the same space compared to a single stack magazine. This design allows for higher ammunition capacity but can result in a wider grip on the firearm.


How do you refresh stack using library functions in C programming?

What do you mean by stack-refreshing? Anyway, there are no stack handling functions in the standard C library.


Double ended stack?

Double ended queue


How you use stack in c plus plus classes?

It would be easier to manipulate the stack in assembly language rather than C++.


What is a double stack magazine?

The magazine of a gun holds the bullets. Most magazines are single stack - each bullet directly above the next. Double stack magazines have 2 rows of bullets, slightly staggered.


Where local variables are stored in c?

On the stack.


Does sig sauer make a .45 caliber double stack magazine pistol?

The 250 is a double stack .45 ACP pistol. It has a DAO trigger, however.


Why is union used in C?

Union is used in case of libraries which return assorted data's. for example, say a stack library is present which can return an int or double depending on what is on top of stack. in such a case, the application layer should be able to receive from library either int or double. so in application layer we use union.


Write a c program to perform stack operation?

int top=-1; int stack[10];


Would you think of volume or capacity if you wanted to know how much closet space a stack of boxes would take up?

capacity


What has the author Raymond C Stack written?

Raymond C. Stack has written: 'Marketing Montana hay' -- subject- s -: Hay trade, Statistics, Hay


What is flowchart of stack using array in c prog?

Two little problems: 1. stack doesn't have a flow-chart 2. there are no flow-charts in a C program