Difference between revisions of "Exclamation mark"

From Conservapedia
Jump to navigation Jump to search
m (Reverted edits by CalebC (talk) to last revision by AlexWD)
m (clean up)
 
(3 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
In [[C]] and similar computer programming languages, it is used to represent "logical not" and in a pair with an equals sign (=) to represent ''is not equal to'', e.g. {{tt|1=if (a != b)}} means ''if a is not equal to b''.<ref>[http://cermics.enpc.fr/~ts/C/CONCEPT/expressions.html C Operators/Expressions].</ref>
 
In [[C]] and similar computer programming languages, it is used to represent "logical not" and in a pair with an equals sign (=) to represent ''is not equal to'', e.g. {{tt|1=if (a != b)}} means ''if a is not equal to b''.<ref>[http://cermics.enpc.fr/~ts/C/CONCEPT/expressions.html C Operators/Expressions].</ref>
  
In mathematics, the exclamation mark is typically used to represent the [[factorial]] of a whole number, n, as n!. For example, 5! can be read as "5 factorial", which means "5 times 4 times 3 times 2 times 1.
+
In mathematics, the exclamation mark is typically used to represent the [[factorial]] of a whole number, n, as n!. For example, 5! can be read as "5 factorial", which means 5 x 4 x 3 x 2 x 1.
  
 
==Additional Reading==
 
==Additional Reading==
Line 9: Line 9:
 
* Truss, Lynne. ''Eats, Shoots and Leaves: The Zero Tolerance Approach to Punctuation''.  2003, Gotham Books.
 
* Truss, Lynne. ''Eats, Shoots and Leaves: The Zero Tolerance Approach to Punctuation''.  2003, Gotham Books.
  
==External Links==
+
==External links==
 
*[http://www.nationalpunctuationday.com/exclamationpoint.html National Punctuation Day - The Exclamation Point],nationalpunctuationday.com
 
*[http://www.nationalpunctuationday.com/exclamationpoint.html National Punctuation Day - The Exclamation Point],nationalpunctuationday.com
  
== Reference ==
+
== References ==
 
{{reflist}}
 
{{reflist}}
 
[[Category:Punctuation]]
 
[[Category:Punctuation]]
 
[[Category:Programming Languages]]
 
[[Category:Programming Languages]]
 
<!-- Yes, I know that this is (now) a parent category of [[cat:programming language]], but it should also be in [[cat:Human language]], [[cat:English language]], or similar, but they don't appear to exist yet. -->
 
<!-- Yes, I know that this is (now) a parent category of [[cat:programming language]], but it should also be in [[cat:Human language]], [[cat:English language]], or similar, but they don't appear to exist yet. -->

Latest revision as of 15:05, June 23, 2016

An exclamation mark or exclamation point (!) is used at the end of a sentence to express surprise, disgust, admiration, etc., or to add emphasis to a command. In formal writing, however, it is rarely used.

In C and similar computer programming languages, it is used to represent "logical not" and in a pair with an equals sign (=) to represent is not equal to, e.g. if (a != b) means if a is not equal to b.[1]

In mathematics, the exclamation mark is typically used to represent the factorial of a whole number, n, as n!. For example, 5! can be read as "5 factorial", which means 5 x 4 x 3 x 2 x 1.

Additional Reading

  • Truss, Lynne. Eats, Shoots and Leaves: The Zero Tolerance Approach to Punctuation. 2003, Gotham Books.

External links

References