Error Invalid Types Char Int For Array Subscript