Dell Technologies Interview Question

pass by val vs pass by ref