The C language provides a special operator, the comma operator. Use it to connect two expressions. For example:
3 + 5, 6 + 8
It is also known as a comma expression and an ordered value operator ". The comma expression is generally in the form
Assignment operator
The assignment symbol "=" is the assignment operator, which is to assign a data to a variable. The function of "a=3" is to perform an assignment operation (or assignment operation). Assign the constant 3 to variable a. You can
The C language provides a special operator, the comma operator. Use it to connect two expressions. For example:
3 + 5, 6 + 8
It is also known as a comma expression and an ordered value operator ". The comma expression is generally in the
Let's start with an interesting microblog.The C at the end is the lowest-priority comma operator. The comma operator is the last line of operator precedence and rarely an article records, which hides its sharpness. It may not be a strong JavaScript
[Study Notes] [C Language] comma operator, learning notes comma Operator
The comma operator is mainly used to connect expressions, such:
Int a = 9; int B = 10; a = a + 1, B = 3*4;
* The expression connected by the comma operator is called a comma
Original: comma and comma expressions in C languageThe C language provides a special operator-the comma operator. Use it to connect two expressions together. such as:3+5,6+8called a comma expression, also known as the order evaluation operator. The
Attention:
First, as the current reading of JavaScript technology, so here take JavaScript as an example. You can try it in PHP yourself.
Second, JavaScript syntax is more complex, so take JavaScript as an example.
The recent re-reading of the
Reprint: http://www.cnblogs.com/hnrainll/archive/2011/08/03/2126660.htmlThe C language provides a special operator-the comma operator. Use it to connect two expressions together. Such as:3+5,6+8Called a comma expression, also known as the order
Reprinted from: http://www.cnblogs.com/hnrainll/archive/2011/08/03/2126660.html
The C language provides a special operator, the comma operator. Use it to connect two expressions. For example:
3 + 5, 6 + 8
It is also known as a comma expression and
The C language provides a special operator-the comma operator. Use it to connect two expressions together. Such as:3+5,6+8Called a comma expression, also known as the order evaluation operator. The general form of a comma expression isExpression 1,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.