Include <cstring> header for memset function.