Where exactly should we use memset and inline function in our code.

Does these(memset and inline function) gives significant improvement or optimization in our code execution time?

//