Album sobre lenguaje C Language C Album | 页面 4

Operators If we analyze the following sentence: var1 = var2 + var3; we are telling the program, through the operator +, to compute the sum of the value of two variables, and once this is done assign the result to another variable var1. This last operation (assignment) is indicated by another operator, the sign =. The C language has a wide variety of operators, and all of them fall into 6 categories, namely: arithmetic, relational, logical, increment and decrement, bit manipulation and assignment. All of them will be described in the subsequent paragraphs.