In C, the assignment command also returns the value assigned, so it is also an expression.Similarly, initialization, which happens when defining a variable, also assigns a value to the newly created variable. In programming languages, does a command for initialization ever return a value, so it can be used as an expression?Essentially, I am trying to find out if initialization is viewed as a special case of assignment.Thanks.
Are commands for variable initialization ever used as expressions?
programming languages;initialization