3 ms·
Why using new syntax like ~ [ ]; instead of good old /* */ or pragmas ? I would prefer something like this: void* foo() /* return malloc(SIZE) */ {
by ruslan 3y ago
Why using new syntax like ~ [ ]; instead of good old /* */ or pragmas ?
I would prefer something like this:
void* foo() /* return malloc(SIZE) */ {
void *p = (void*) = malloc(SIZE);
bzero(p, SIZE);
return p;
}
It remains compatible with any compiler of choise.*