Question: #include #include int fun(int *ptr, int *z); void main() { int i; int ptr = NULL; int y = 0; int #z = NULL;

#include #include int fun(int *ptr, int *z); void main() { int i; 

#include #include int fun(int *ptr, int *z); void main() { int i; int "ptr = NULL; int y = 0; int #z = NULL; ptr = malloc(10* sizeof(int)); z = malloc(sizeof(int)); for(i=0;i

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

1 The function definition should use the keyword int for the return type not v... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!