Difference between revisions of "Exclamation mark"

From Conservapedia
Jump to navigation Jump to search
m
m (fix grammar)
Line 1: Line 1:
 
An '''exclamation mark''' (!) is used at the end of a [[sentence]] to express surprise, disgust, admiration, etc., or to add emphasis to a command.
 
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 ''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>
  
 
== Reference ==
 
== Reference ==

Revision as of 21:22, August 15, 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 is not equal to, e.g. if (a != b) means if a is not equal to b.[1]

Reference