Question: Why is the following C code illegal? { int x[3]; x = (int *) malloc(3*sizeof(int)); ... }
Why is the following C code illegal? { int x[3]; x = (int *) malloc(3*sizeof(int)); ... }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
