C Programming - Memory Allocation - Discussion
Discussion Forum : Memory Allocation - Yes / No Questions (Q.No. 2)
2.
Can I increase the size of statically allocated array?
Discussion:
13 comments Page 1 of 2.
Durgam_anil said:
1 decade ago
By default memory is created by the system is static memory.
Nothing but like a stack. We can't change that memory.
If any way we want change memory. Then by using device drivers program it is possible.
Nothing but like a stack. We can't change that memory.
If any way we want change memory. Then by using device drivers program it is possible.
Ramu said:
1 decade ago
int a;
In static memory allocation compiler will allocates sufficient size for storing the integer and it cannot be changed.
In static memory allocation compiler will allocates sufficient size for storing the integer and it cannot be changed.
Praphulla said:
1 decade ago
Static means FIXED memory size so we can't change statically allocated size.
Priya said:
1 decade ago
Once we allocated a value for a static variable it can't change its value.
Raji said:
1 decade ago
We never change the value of static. It always remains as constant.
Abhinandan said:
1 decade ago
For static memory is allocated on stack so you cann't change.
Pradeep said:
10 years ago
Only dynamic array can increase its size.
Sowmya said:
1 decade ago
Static means we cannot change its value.
Rakesh said:
1 decade ago
Static is unique it is does not change.
Raj said:
9 years ago
Thank you all for the explanation.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers