char** ptr; void func(&ptr) //ошибка компиляции { ... } func(ptr); 
  • one
    The type of the function argument should be specified. - Pavel Parshin
  • @MortielDarksi If you have a need to pass a double pointer by reference, then most likely you are doing something wrong. :) - Vlad from Moscow

1 answer 1

& Must have type:

 void func(char**& ptr) {...}