Semicolon: Punctuation mark that separates major sentence elements

A semicolon is a punctuation mark.

It looks like this: ;

Semicolon: Punctuation mark that separates major sentence elements
A semicolon

Use in English

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."

Use in Computer Programming

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; } 


Tags:

Punctuation

🔥 Trending searches on Wiki Simple English:

OceaniaDwayne JohnsonAcademic grading in the PhilippinesJacqueline Kennedy OnassisIndian National CongressHeart (band)List of U.S. statesSuhani BhatnagarTBS (American TV channel)MasturbationList of European stadiums by capacityUnited States presidential line of successionWish (movie)Republican Party (United States)KaabaCarles PuigdemontMalaysiaButterflyWhite House Press SecretaryJeff SaturFelchingAishwarya Rai BachchanList of U.S. state nicknamesShivajiMountain DewThe Great KhaliThe Batman (movie)YearXXXTentacionStaff (music)IsraelTriple HKalkiMayCare BearsCountryList of cities in FranceNames of large numbersList of United States cities by populationList of national animalsList of languagesEnglish languageShah JahanRichard BurtonLiverpoolM16 rifleFingering (sexual act)Flag of the United StatesGeneration AlphaList of cities in MexicoList of youngest prime ministersEjaculationJohn CenaKorean languageLlanfairpwllgwyngyllKaylee HottleTom KaulitzAdministrative divisions of New YorkDenmarkYouTubeCharlie SheenClassification of Indian citiesNarendra ModiSeppukuPostal codes in GermanyContinentThe Suicide Squad (movie)NumberUnited KingdomThe House of the Rising SunJudith Barsi🡆 More