def f(a, b, c) (a + b) * c end f(1, 2, 3) f('x', 'y', 3)
// Java double ave(int[] nums) { ... } ... int x = (int)ave(xs); // reduced checking
inline
, virtual
, virtual functions,
: public
const
methods
override
delete
class Node { Node *nextNode; public: Node(Node *next = nullptr) : nextNode(next) { } Node* next() { return nextNode; } };