Hacker News new | ask | show | jobs
by Klockan 3524 days ago
> If you wanted to indicate the type of p, what would you write instead?

Then you would just write it as a function like this:

    void foo(char *p) {
        *p = 'a';
    }