Category:C: Difference between revisions

m
Line 119:
 
Functions work the same way. You can declare a function without defining what it does.
<lang C> int foo(int bar);
// 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>
1,489

edits