I\'m trying to call a function via function parameter. The function I\'m trying to call takes a structure as a parameter. I\'m able to call the desired function but while trying