A semicolon is a punctuation mark.
It looks like this: ;
In the standard English language, a semicolon has only two uses. First, to connect two independent clauses into a single sentence. For example: "I could tell that it was getting late; it was growing darker by the second." The second use of a semicolon is to separate items in a series when the items contain parenthetical elements within themselves. For example: "The following crewmembers were on the bridge: James T. Kirk, captain of the Enterprise; Mr. Spock, first science officer; Mr. Sulu, helmsman; Mr. Scott, engineer; and Dr. McCoy, chief medical officer."
A semicolon is also used with a conjunctive adverb when joining two clauses. In reality, this is the same as the first rule, but it looks different enough to sometimes cause concern.
For example: "huzaifa, context in which all life exists; consequently, it is more than a political issue."
A semicolon is sometimes used in programming. In programming languages such as C, semicolons are used to separate logical statements.
int main() { int x, y; x = 1; y = 2; printf("X + Y = %d", x + y); return 0; }
This article uses material from the Wikipedia Simple English article Semicolon, which is released under the Creative Commons Attribution-ShareAlike 3.0 license ("CC BY-SA 3.0"); additional terms may apply (view authors). Content is available under CC BY-SA 4.0 unless otherwise noted. Images, videos and audio are available under their respective licenses.
®Wikipedia is a registered trademark of the Wiki Foundation, Inc. Wiki Simple English (DUHOCTRUNGQUOC.VN) is an independent company and has no affiliation with Wiki Foundation.