Previously, we 've been indicating an array by typing its datatype at first, and then the rest of the syntax
how does candidate
here is typed instead of the datatype ?
CS50 Stack Exchange is a question and answer site for students of Harvard University's CS50. It only takes a minute to sign up.
Sign up to join this communitycandidate
is the datatype. It is a custom datatyoe (also called a "user-defined" datatype). The name of the variable is candidates
plural. You will find the datatype defined either in the code above this declaration code in the screenshot or at the top of one of the linked files; I can't remember at the moment.