If A Function Is To Be Made Const Which Is The Correct Syntax #1015
If a function is to be made const, which is the correct syntax?
This multiple choice question (MCQ) is related to the book/course
gs gs111 OOP Object Oriented Programming Java.
It can also be found in
gs gs111 Member Functions & its Types - Object Oriented Programming MCQ: Constant Member Functions - Quiz No.2.
If a function is to be made const, which is the correct syntax?
const functionName(parameters);
const returnType functionName(parameters);
const functionName(returnType)(Parameters);
const (functionName(parameters));