Error: subscripted value is neither array nor pointer
Share
One of the reasons this error will be shown is if a call to a function used brackets [] rather than (). Calls to functions to contain parameters use the parentheses, not brackets. For example, function(value), not function[value].