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?
Yes
No
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
13 comments Page 1 of 2.

Ando Lawrence said:   8 years ago
Static is a keyword.

Raj said:   9 years ago
Thank you all for the explanation.

Pradeep said:   10 years ago
Only dynamic array can increase its size.

Praphulla said:   1 decade ago
Static means FIXED memory size so we can't change statically allocated size.

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.

Raji said:   1 decade ago
We never change the value of static. It always remains as constant.

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.

Rakesh said:   1 decade ago
Static is unique it is does not change.

Sowmya said:   1 decade ago
Static means we cannot change its value.

Abhinandan said:   1 decade ago
For static memory is allocated on stack so you cann't change.


Post your comments here:

Your comments will be displayed after verification.