answersLogoWhite

0


Best Answer

Because that is the defined statement terminator of the language.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why you use semicolon to terminate the lines in C programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

When to use simicolon?

Semicolon is a part of punctuation used mostly in coding. It denotes the end of line in many programming languages.


Should you use s semicolon after sincerely when ending a letter?

No. You can use a comma, and then your name a few lines below, but not a semi-colon.


Do you use a semicolon when separating lists?

No, semicolons are not typically used to separate items in a list. Commas are commonly used for that purpose. Semicolons are used to separate independent clauses in a sentence or to separate items in a list where the items themselves contain commas.


Write in c-in and c-out in c plus plus and C programming?

In c++, to manipulate output & input you must use cin and cout. I will write a sample program to show you:#include //possibly iostream.husing namespace std; //This is what lets you use cin & coutint main(){cout


A sentence with the word semicolon?

I can give you several sentences.You use a semicolon to separate two clauses.A semicolon is like a comma with a period on top of it.You need to learn how to use the semicolon properly.


When do you use a semicolon in algebra?

Well, according to what I learned when I was in Algebra I, you should never have to use a semicolon.


Can you use a Semicolon before a comma?

It is not common to use a semicolon before a comma in writing. Semicolons are typically used to separate independent clauses or items in a list. If you feel the need to use both punctuation marks in a sentence, it may be a sign that the sentence could be rephrased or structured differently for clarity.


Can a semi colon be used after the word however?

In some cases, yes. It's usually a bad idea, however; the more common usage is for the semicolon to precede the word. It may help to ask yourself "would this still make sense if the semicolon were a period?" If so, then the semicolon is probably in the right place. There's really no reason to ever use a semicolon if you don't know how to do it properly. 99 44/100 % of the time a period will work almost as well. (The 0.56% where it won't? Programming languages.)


Can you use two semicolon in one sentennce?

NO


Do you use and after a semicolon?

No, the word "and" should not follow a semicolon. Semicolons are used to separate independent clauses; if you want to include "and," it would typically be used within one of the independent clauses separated by the semicolon.


Do you use a semicolon before except?

No, a semicolon is not typically used before "except" in a sentence. Instead, a comma may be used to separate clauses or phrases when necessary.


Do you use a semicolon before the word such?

No, a semicolon is not typically used before the word "such." Semicolons are usually used to connect closely related independent clauses or to separate items in a list when those items themselves contain commas.