Difference between revisions of "Exclamation mark"
Jump to navigation
Jump to search
m |
|||
| Line 1: | Line 1: | ||
| − | An ''' | + | An '''exclamation mark''' (!) 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 ''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 ''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> | ||
| Line 6: | Line 6: | ||
{{reflist}} | {{reflist}} | ||
| − | [[Category:Programming | + | [[Category:Programming Languages]] |
[[Category: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. --> | [[Category: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. --> | ||
Revision as of 02:17, April 3, 2008
An exclamation mark (!) 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 not equal to, e.g. if (a != b) means if a is not equal to b.[1]