Category:C: Difference between revisions
Content added Content deleted
Puppydrum64 (talk | contribs) m (→Curly Braces) |
Puppydrum64 (talk | contribs) |
||
Line 119: | Line 119: | ||
Functions work the same way. You can declare a function without defining what it does. |
Functions work the same way. You can declare a function without defining what it does. |
||
<lang C> |
<lang C>int foo(int bar); |
||
// The function foo was declared. It takes an integer as an argument and returns an integer. |
// 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> |
// What it actually does is currently unknown but can be defined later.</lang> |