employer cover photo
employer logo

Pergunta de entrevista da empresa Nuance

Do you know why we prefer prefix increment operator in somewhere like a for loop?

Resposta da entrevista

Sigiloso

20 de out. de 2016

Because the postfix operator will create a temporary object. The performance cost is especially high when we use the postfix operator on class' object rather than types like built-in integer (int).