Discuss the advantages and disadvantages of this aspect in the design of C. Problem 3. An attribute of a programming language is orthogonality . The term orthogonality refers to the attribute of being able to combine various features of a language in all possible combinations, with every combination being meaningful. For example, suppose a language provides for an expression that can produce a value, and it also provides a conditional statement that evaluates an expression to get a true or false value. It also provides the ability to declare arrays and records of data.
Arrays have elements of the same type and records have elements of mixed types.
Arrays of characters are called strings and get special treatment. Record elements may be of type character . Records may have arrays as elements, but arrays may not have records as elements. Arrays may not have arrays as elements, but multidimensional arrays are provided to get the same effect.