Differentiate between inline and friend function
Answers
Answered by
0
Answer:
There's no difference. Both friend and inline are independent declaration specifiers, which can be specified in any order. There's not much point in declaring the function inline in a friend declaration though. More generally, there's no point in specifying inline in any non-defining function declaration.
Explanation:
MARK ME AS BRILLIANT.
Similar questions