S++ or S = S+1, which can be recommended to increment the value by 1 and why?

1 Answer(s)

S++, as it is single machine instruction (INC) internally.

Supporter Answered on August 15, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.