mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 10:01:38 +00:00
Fix typo for 'funtion prototype'
This commit is contained in:
parent
c4f541dc92
commit
2ef4119926
@ -448,7 +448,7 @@ int add_two_ints(int x1, int x2)
|
|||||||
return x1 + x2; // Use return to return a value
|
return x1 + x2; // Use return to return a value
|
||||||
}
|
}
|
||||||
|
|
||||||
// Must declare a 'funtion prototype' before main() when creating functions
|
// Must declare a 'function prototype' before main() when creating functions
|
||||||
// in file.
|
// in file.
|
||||||
void getInt(char c); // function prototype
|
void getInt(char c); // function prototype
|
||||||
int main() {
|
int main() {
|
||||||
|
Loading…
Reference in New Issue
Block a user