Understanding Array Decay to Pointers in C Language (Part 1)
Array Decay Rules:In most cases, the name of an array is implicitly converted (or referred to as “decay”) to a pointer to its first element. This behavior is specified by the language standard.★ 1. Cases Where Arrays Convert to Pointers 1.1 Array Name as Function Parameter When an array is passed as a function parameter, … Read more