mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-11 17:24:29 +02:00
Fix typo for 'funtion prototype'
This commit is contained in:
@@ -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() {
|
||||||
|
Reference in New Issue
Block a user