Pass-by-value vs pass-by-reference bug fix
Filed under Nvidia
The question
Diagnose errors in a snippet involving pass-by-value versus pass-by-reference, explain why the error occurs, and fix it to produce the correct output.
No write-up yet. Related questions below have one.
Related Nvidia questions
Collected from public candidate posts and coding forums. Updated Nov 2026.