it returns the integer passed to that function, in the form of a string.

We can't return local array to other functions. Output can't be predictable.

it gives compile time error, as we are trying to convert integer to string using some illegal function.

it crashes at run time, as we are trying to convert integer to string using some illegal function.

Answer :(B)

We can't return local array to other functions. Output can't be predictable.

Description :

We can't return local array to other functions. Output can't be predictable, because local variables will be dead on returning from the method. So the address we are returning will hold garbage value. Any operation on garbage value will be unpredictable.