I come across the term ‘decay’ every now and then, for example when arrays passed in as function parameters decays to a pointer, or when functions decay to a function pointer. If I was writing a c compiler, where would I find the term ‘decay’ officially defined and where would all the cases of it occuring be documented?
Share
The official terminology in the standard for this is “lvalue conversion”. In the current version of the standard (C11) you find this in 6.3.2.1 p3.