Is the function parameter set to 0 and the function parameter set to NULL in c++? . ?
It's different. Regardless of C or C++, NULL is a macro defined by implementation, which is related to implementation. NULL is neither 0 nor (void*)0. However, most compilers define NULL as 0 or (void*)0, but not all compilers do so.