265 views
0 votes
0 votes
Why is memory allocation is done at definition but not at declaration?

1 Answer

–1 votes
–1 votes
Memory allocation takes place at the time of declaration, not at the time of definition. Your Question is wrong.

Related questions

1 votes
1 votes
1 answer
1
Mrityudoot asked Feb 2
280 views
In what cases does an uninitialized array have values = 0 and for which cases does it have values = garbage values. How to differentiate?
0 votes
0 votes
1 answer
4
sh!va asked Jul 12, 2016
466 views
Which among the following is (are) able to modify previously allocated spaceI. calloc() II. free() III. realloc() A. Both II and IIIB...