Question: What does str = malloc ( 5 0 ) ; mean in the following code? int x ; void main ( ) { int y
What does str malloc; mean in the following code?
int ;
void main
int ;
char str;
str malloc ;
size calcSize ;
a allocates bytes of dynamic stack storage
b allocates bytes of dynamic heap storage
c allocates bytes of static heap storage
d allocates bytes of static stack storage
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
