An Entity of Type: company, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org:8891

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.

Property Value
dbo: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)
dbo:wikiPageExternalLink
dbo:wikiPageID
  • 12268473 (xsd:integer)
dbo:wikiPageLength
  • 13799 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1122777467 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
gold:hypernym
rdf:type
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)
rdfs:label
  • Comma operator (en)
  • Operatore virgola (it)
  • コンマ演算子 (ja)
  • 逗号运算符 (zh)
owl:sameAs
prov:wasDerivedFrom
foaf:isPrimaryTopicOf
is dbo:wikiPageDisambiguates of
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License