mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 01:51:38 +00:00
Fixed typo
"Use return to return a value" instead "Use return a return a value"
This commit is contained in:
parent
a6bcf5f8d7
commit
5d15e5c048
@ -293,7 +293,7 @@ function_1();
|
|||||||
// <return type> <function name>(<args>)
|
// <return type> <function name>(<args>)
|
||||||
|
|
||||||
int add_two_ints(int x1, int x2){
|
int add_two_ints(int x1, int x2){
|
||||||
return x1 + x2; // Use return a return a value
|
return x1 + x2; // Use return to return a value
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user