Value to pointer converter helper function
Helper functions that return pointers of input values. This is useful in cases where a pointer is needed, this function can be used instead of creating an extra variable every time a pointer value is required.