Is the following code correct? If not, explain what iswrong.
int f1 (int val)
{
int num = 0;
int *ptf = #
if (val == 0) {
int val;
val = 5;
ptr = &val;
}
return (*ptr + 1)
}
Expert Answer
An answer will be send to you shortly. . . . .
Is the following code correct? If not, explain what iswrong.
int f1 (int val)
{
int num = 0;
int *ptf = #
if (val == 0) {
int val;
val = 5;
ptr = &val;
}
return (*ptr + 1)
}
An answer will be send to you shortly. . . . .