Write a simple C program in which a function is called by value, and show its output: the previous value of the variable and the function's result.

Write a simple C program in which a function is called by value, and show its output: the previous value of the variable and the function's result.

From the MRA Senior Computer Operator February 2023 – Written (IBA) exam, question 3 of 11.

More from this paper