4 ms·
> 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) {
by Klockan 10y 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';
}