What's the exact role of “significant characters” in C (variables)?

后端 未结 4 1012
无人及你
无人及你 2020-12-10 16:32

What is the exact role of \"significant characters\" in C , especially in the field of variables? I have read the topic “(K&R) At Least the first 31 characters...”, but

4条回答
  •  伪装坚强ぢ
    2020-12-10 17:05

    In the old days of C, when the compilers and programs were run on machines with very limited memory (think kilobytes, not gigabytes) then to save memory the compilers only used up to eight (on the early compilers) characters of identifiers (names of variables, functions etc.). This is the role of "significant characters", it's the number of characters the compiler uses for names in the source.

提交回复
热议问题