Author: Stan Eisenstat
Subject: Re: [Cs223] Char Arrays
Date: Monday, 27 Jan 2020, 17:47:36
> Message Posted By: Unknown > > Since char arrays are in Chapter 1 of K&R, I assume we can use them. Can > we assume that identifiers won't be longer than 31 characters, thus > allowing the use of char arrays (they have a maximum length since we can't > use pointers) or can identifiers be of any length, thus requiring a > different solution? Apparently you missed the first note in the specification, which reads: 1. You MAY NOT USE arrays, structs, or any language features (e.g., pointers) not described in K&R, Chapter 1. Thus your assumption is incorrect and your question moot. --Stan-PREV INDEX NEXT