Scrigroup - Documente si articole

     

HomeDocumenteUploadResurseAlte limbi doc
AccessAdobe photoshopAlgoritmiAutocadBaze de dateCC sharp
CalculatoareCorel drawDot netExcelFox proFrontpageHardware
HtmlInternetJavaLinuxMatlabMs dosPascal
PhpPower pointRetele calculatoareSqlTutorialsWebdesignWindows
WordXml


Expression statements

C sharp



+ Font mai mare | - Font mai mic



Expression statements

An expression-statement evaluates a given expression. The value computed by the expression, if any, is discarded.



expression-statement:
statement-expression
;

statement-expression:
invocation-expression
object-creation-expression
assignment
post-increment-expression
post-decrement-expression
pre-increment-expression
pre-decrement-expression

Not all expressions are permitted as statement-expressions. In particular, expressions such as x + y and x == 1 that merely compute a value (which will be discarded), are not permitted as statement-expressions.

Issue

Define 'side effect'.

Execution of an expression-statement evaluates the contained statement-expression and then transfers control to the end point of the expression-statement.



Politica de confidentialitate | Termeni si conditii de utilizare



DISTRIBUIE DOCUMENTUL

Comentarii


Vizualizari: 787
Importanta: rank

Comenteaza documentul:

Te rugam sa te autentifici sau sa iti faci cont pentru a putea comenta

Creaza cont nou

Termeni si conditii de utilizare | Contact
© SCRIGROUP 2024 . All rights reserved