Category:C: Difference between revisions
m
→Functions
Puppydrum64 (talk | contribs) m (→Assignment) |
Puppydrum64 (talk | contribs) m (→Functions) |
||
Line 44:
===Functions===
A function is made up of three parts: its return
<lang C>int main(void) //This is the function "main," which takes no arguments and returns a 32-bit signed integer value.
int sum(int a,int b) //This is the function "sum," which takes two integer arguments and returns an integer.</lang>
|