Question #181881

which is the correct syntax for returning an object by pointer?

a) void functionName ( ){ }

b) object functionName( ) { }

c) class object functionName( ) { }

d) ClassName functionName ( ){ }


Expert's answer

d) ClassName functionName ( ){ }


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS