What is a Scalar Variable in C?
问题 I was reading 'Pointers on C' by Kenneth Reek and saw this line: A structure variable is a scalar, so you can perform the same kinds of operations with it that you can with other scalars. So what does it mean? I found a similar question on SO but it was related to some other language (I guess SQL) Thank you. 回答1: Section 6.2.5 of the C11 standard explains: Arithmetic types and pointer types are collectively called scalar types. Array and structure types are collectively called aggregate types