I applied online. The process took 1+ week. I interviewed at Aryan International (Hyderābād) in Jan 2023
Interview
n call by reference, the function receives a reference (alias) to the actual argument. Any modifications made to the parameter will directly affect the original argument.
Key Points:
No copy of the argument is made; instead, the function works directly on the original data.
This is more efficient for large data structures or arrays since no copy is made.
Changes inside the function affect the original value.
Example (in C++ since C does not support references directly):
Interview questions [1]
Question 1
Changes inside the function affect the original value.
Example (in C++ since C does not support references directly):