Home / Questions / S++ or S = S+1, which can be recommended to increment the value by 1 and why?
Explanatory Question

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

👁 3,226 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

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