Home > Back-end >  C correction problem, to solve!
C correction problem, to solve!

Time:09-27

1 void f (inta [] [], intm intn))
{
}


Int * 2 f ()
{
Inta=5
Returna;
}

3 void (intx)
{
}
Void main ()

Void (* p) ();
P=f
}

CodePudding user response:

1. Are you a [] [] cannot as a parameter, with a [] int * or * * a;
2. You can't return int
3. No function name
Also have a bunch of little space in the program, semicolons, wrong brackets, etc

CodePudding user response:

The second and the third, how to change?

CodePudding user response:

The second most simple change int * f () for the int f ();
The third change
Void (intx)

void f();
  • Related