Precautions:
Constants are assigned at compile time, and variables are allocated in memory when they are run.
Assignment operator + =-+ *+%= \= The Java compiler enforces type conversions
Residual:In Java, it is time to take the
C # overview of various operators and functions of operators,I. []
Square brackets ([]) are used for arrays, indexers, and attributes, and can also be used for pointers.
1. the array type is a type followed:
Int [] fib = new int [100]; // create an
A simple operation>>>2>>> 2-11>>> 2*36>>> 2/12.0>>> 5%4 1>>> 2**2 4>>> 5//2 2>>> 5==5True>>> 5!=4 True>>> 5>4True>>> 4True>>> 5>=5True>>> 4TrueAbout binary operationsOperator Description Instance& Bitwise AND Operator 10&50 The result is 2 if A is 00
C operator
An operator is a symbol that tells the compiler to perform a specific mathematical or logical operation. The C language has a rich operator built-in and provides the following types of operators:
Arithmetic operators
Relational
The logical (Boolean) operator is used to perform an operation on an expression of the result of a Boolean, and the result of the operation is Boolean. The results of the operation are as follows:
Operator Operation Example Results& and (with)
An operator is a symbol that tells the compiler to perform a specific mathematical or logical operation. C + + has a rich operator built into it and provides the following types of operators:
Arithmetic operators
Relational operators
1. arithmetic operation points
(1) shift operation
① Original code shift: the original code does not change the form of the original code when performing arithmetic shift left or arithmetic shift right. Shifts one digit to the left is equal to
Basic operators of Swift, Swift Operators
Today, I learned the most basic knowledge about Swift language. Here are some of my understandings and conclusions. I hope to help more people understand the area. If anything is wrong, I hope you can point
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.