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

C Programming Language >   Operators and Enums in C Language >   Arithmetic Operators in C  

Short Question

3221


Answer:

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


This Particular section is dedicated to Question & Answer only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.