This is not true. memset() can be optimized away, memset_s() cannot be optimized away by the compiler or the linker.
This is not true. memset() can be optimized away, memset_s() cannot be optimized away by the compiler or the linker.