What is the use of a semicolon (;) at the end of every program statement?

C Programming Language >   Overview of C Language >   Basic Structure of C Programming  

Short Question

4595


Answer:

It has to do with the parsing process and compilation of the code. A semicolon acts as a delimiter, so that the compiler knows where each statement ends, and can proceed to divide the statement into smaller elements for syntax checking.


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.