About: Comma operator     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : dbo:Company, within Data Space : dbpedia.demo.openlinksw.com associated with source document(s)
QRcode icon
http://dbpedia.demo.openlinksw.com/c/3wUZx6544h

In the C and C++ programming languages, the comma operator (represented by the token ,) is a binary operator that evaluates its first operand and discards the result, and then evaluates the second operand and returns this value (and type); there is a sequence point between these evaluations. The use of the comma token as an operator is distinct from its use in function calls and definitions, variable declarations, enum declarations, and similar constructs, where it acts as a separator.

AttributesValues
rdf:type
rdfs:label
  • Comma operator (en)
  • Operatore virgola (it)
  • コンマ演算子 (ja)
  • 逗号运算符 (zh)
rdfs:comment
  • プログラミング言語 C および C++ におけるコンマ演算子(コンマえんざんし)は、左被演算子を評価しその値を捨て、その後右被演算子を評価する演算子である。順次演算子(じゅんじえんざんし)もしくは順次評価演算子 (sequential-evaluation operator) と呼称されることもある。JIS X3010ではコンマ演算子と表記されている。 コンマ演算子の値と型は右被演算子の値と型となる。C では右辺値だが、C++ では右被演算子が左辺値であれば左辺値となる。また、左被演算子の評価に対する副作用(C++では一時変数の破棄を除く)が完了した後に右被演算子が評価されることが規格上保証されている。 (ja)
  • Nei linguaggi di programmazione C e C++, l'operatore virgola (rappresentato dal token ,) è un operatore binario che valuta il suo primo operando e scarta il risultato, quindi valuta il secondo operando e restituisce questo valore (e tipo). È presente un punto di sequenza tra queste valutazioni. L'uso del token virgola come operatore è distinto dal suo utilizzo in chiamate di funzione, definizioni, dichiarazioni di variabili, dichiarazioni enum e costrutti simili, in cui funge da . (it)
  • 在C和C ++编程语言中,逗号运算符( ,)是一个二元运算符,使用形式如a, b。它计算其第一个操作数并丢弃结果,然后计算第二个操作数并返回。这些计算之间有一个顺序点。 逗号运算符的用途不同于逗号在函数调用和定义,变量声明,枚举声明以及类似结构中的使用,逗号在这些例子中的作用是作为。 (zh)
  • In the C and C++ programming languages, the comma operator (represented by the token ,) is a binary operator that evaluates its first operand and discards the result, and then evaluates the second operand and returns this value (and type); there is a sequence point between these evaluations. The use of the comma token as an operator is distinct from its use in function calls and definitions, variable declarations, enum declarations, and similar constructs, where it acts as a separator. (en)
dct:subject
Wikipage page ID
Wikipage revision ID
Link from a Wikipage to another Wikipage
Link from a Wikipage to an external page
sameAs
dbp:wikiPageUsesTemplate
has abstract
  • In the C and C++ programming languages, the comma operator (represented by the token ,) is a binary operator that evaluates its first operand and discards the result, and then evaluates the second operand and returns this value (and type); there is a sequence point between these evaluations. The use of the comma token as an operator is distinct from its use in function calls and definitions, variable declarations, enum declarations, and similar constructs, where it acts as a separator. The comma operator has been deprecated in subscripting expressions (as of C++20); to make for better use of that syntax, for use as is available in other languages. (en)
  • プログラミング言語 C および C++ におけるコンマ演算子(コンマえんざんし)は、左被演算子を評価しその値を捨て、その後右被演算子を評価する演算子である。順次演算子(じゅんじえんざんし)もしくは順次評価演算子 (sequential-evaluation operator) と呼称されることもある。JIS X3010ではコンマ演算子と表記されている。 コンマ演算子の値と型は右被演算子の値と型となる。C では右辺値だが、C++ では右被演算子が左辺値であれば左辺値となる。また、左被演算子の評価に対する副作用(C++では一時変数の破棄を除く)が完了した後に右被演算子が評価されることが規格上保証されている。 (ja)
  • Nei linguaggi di programmazione C e C++, l'operatore virgola (rappresentato dal token ,) è un operatore binario che valuta il suo primo operando e scarta il risultato, quindi valuta il secondo operando e restituisce questo valore (e tipo). È presente un punto di sequenza tra queste valutazioni. L'uso del token virgola come operatore è distinto dal suo utilizzo in chiamate di funzione, definizioni, dichiarazioni di variabili, dichiarazioni enum e costrutti simili, in cui funge da . (it)
  • 在C和C ++编程语言中,逗号运算符( ,)是一个二元运算符,使用形式如a, b。它计算其第一个操作数并丢弃结果,然后计算第二个操作数并返回。这些计算之间有一个顺序点。 逗号运算符的用途不同于逗号在函数调用和定义,变量声明,枚举声明以及类似结构中的使用,逗号在这些例子中的作用是作为。 (zh)
gold:hypernym
prov:wasDerivedFrom
page length (characters) of wiki page
foaf:isPrimaryTopicOf
is Link from a Wikipage to another Wikipage of
is Wikipage disambiguates of
is foaf:primaryTopic of
Faceted Search & Find service v1.17_git147 as of Sep 06 2024


Alternative Linked Data Documents: ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3331 as of Sep 2 2024, on Linux (x86_64-generic-linux-glibc212), Single-Server Edition (378 GB total memory, 51 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software