index pointer | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

index pointer

I can't solve this problem. I think when array comes into the function, there is some mistakes?? can you help me with my code? ------------------------------------------------------------------------------------------------------ https://code.sololearn.com/cmyZ5KYqMOyj/#c

27th May 2019, 7:56 AM
김도현
김도현 - avatar
1 Answer
+ 4
Call the function like this: find_all_in_array(arr, &s); Not like this: find_all_in_array(arr[10], &s);
27th May 2019, 8:03 AM
Anna
Anna - avatar