Difference between revisions of "Exclamation mark"

From Conservapedia
Jump to navigation Jump to search
m (recat)
(Ugh, I could have probably written that better, but I suppose it's good enough for now)
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!.
 
== Reference ==
 
== Reference ==
 
{{reflist}}
 
{{reflist}}

Revision as of 12:37, December 21, 2008

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

Reference