Category:C: Difference between revisions
m
→Declaring vs. Defining
Puppydrum64 (talk | contribs) No edit summary |
Puppydrum64 (talk | contribs) |
||
Line 92:
* You cannot define a variable without declaring it first.
* Before a variable can be used, it must be defined.
Functions work the same way. You can declare a function without defining what it does.
Line 97 ⟶ 100:
// The function foo was declared. It takes an integer as an argument and returns an integer.
// What it actually does is currently unknown but can be defined later.</lang>
==Citation==
|