+ 1

How we can give array as an argument as well as return value in user defined function?

I want to know it because I want to use in an line follower robot.

26th Apr 2020, 2:56 PM
Kathan Kotadia
Kathan Kotadia - avatar
6 Respuestas
+ 4
About returning array, these may help to understand bit better. https://www.sololearn.com/learn/C/2947/?ref=app https://www.sololearn.com/learn/C/2950/?ref=app
26th Apr 2020, 3:24 PM
Ipang
+ 1
What is the language?use tags to put language ,
26th Apr 2020, 3:02 PM
Abhay
Abhay - avatar
26th Apr 2020, 3:07 PM
Abhay
Abhay - avatar
0
Thanks but I need also return value as an array
26th Apr 2020, 3:09 PM
Kathan Kotadia
Kathan Kotadia - avatar
0
use pointer arithmetic!!! it helps for this
26th Apr 2020, 3:10 PM
Alexander Thiem
Alexander Thiem - avatar
0
I will try
26th Apr 2020, 3:11 PM
Kathan Kotadia
Kathan Kotadia - avatar