When I use print in the same line where I passed the value to the trip cost then it gives no error and print what’s expected but if I use another line like the one below it gives unexpected result.
Where is the return value from your function call going? Have you tried printing that function call?
gives the output your screenshot shows… An identifier stub showing the address in RAM where the function resides.
gives the return value of the function call.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.