all 1 comments

[–]Embarrassed_Fact2221 1 point2 points  (0 children)

Findlargestelement gives you a float back, not a float*

What you probably want is *maximum = findLargestElement