Quiz

Here's a short quiz to test your understanding.

1

How can returning const values from a function hurt performance?

A)

Returning const values decreases the efficiency and can’t store in a variable.

B)

Returning const values prevents the application from moving semantics and you might end up with a silent copy instead.

C)

Both A and B

Question 1 of 60 attempted

Get hands-on with 1400+ tech skills courses.