3 ms·
> the purpose of "char * p;" might simply be to indicate the type of p, but not necessarily to indicate that it is uninitialized. It's C code. Your interpreta
by adekok 10y ago
> the purpose of "char * p;" might simply be to indicate the type of p, but not necessarily to indicate that it is uninitialized.
It's C code. Your interpretation is not the one used by the compiler.
The point was to catch trivial bugs in code. In this case, the interview didn't.