The declaration `int main(int, char*[]);` tells the compiler that `main` is a function returning `int`. Its parameters have the types shown in the parentheses; the declaration does not supply a function body. section 2.2 section 2.3
A declaration specifies what an identifier represents and associates properties with it. Identifiers must be declared before use; keywords, by contrast, are predefined and must not be declared or redefined. section 2.2
The form of a declaration gives clues to the identifier’s role:
- `int argc;` declares `argc` with type `int`. section 2.2
- `double A[5];` declares `A` as an array of five `double` elements, indexed from 0 through 4. section 2.2
- `[[maybe_unused]] char* argv[];` includes an attribute indicating that `argv` is possibly unused. The `*` indicates a pointer type. section 2.2
A declaration does not necessarily supply an object’s concrete value or storage. A definition fills that role, and a declaration can also be a definition. For example, `size_t i = 0;` declares `i`, initializes it to zero, and defines the object by providing storage for its value. section 2.3 section 2.3
For a function, a declaration followed by a body in braces is a definition. TAKEAWAY: declarations specify identifiers; definitions specify objects or supply function bodies. section 2.3

