Question: Given the structure definition in a 32-bit environment: struct contact { char name[22]; char gender; int phone; } *y = 0; y=malloc(sizeof(struct contact)); printf(%d
Given the structure definition in a 32-bit environment: struct contact { char name[22]; char gender; int phone; } *y = 0; y=malloc(sizeof(struct contact)); printf("%d ", sizeof(y)); What value will be printed?
Step by Step Solution
3.36 Rating (159 Votes )
There are 3 Steps involved in it
In the given code snippet the structure contact is defined with t... View full answer
Get step-by-step solutions from verified subject matter experts
