return lets you literally return a value from a function. This allows you to define functions like:
int add(int x, int y)
{
return(x + y);
}
int twoplustwo = add(2, 2);
Chat with our AI personalities
void
Keyword.
enum, void and const are relatively new keywords in Cnew, on the other hand, isn't a keyword in C
There is no "foreign" keyword in Java, however, there is a native keyword that declares native methods in a native language, such as C or C++.For full list of keywords in Java see related question.
println is not a C++ keyword.