Array Subscript Is Not An Integer C Error Not All Code Path