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

Short Answer
Views 3149

Answer:

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

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of C Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.