Topic 2 Operator, Operand, and Arithmetic
1. Operator adalah suatu proses yang bertujuan untuk mendapatkan value atau nilai yang baru . contoh – contoh bagian dari Operator :
– Assignment Operator
– Logical Operator
– Arithmathic Operator
– Relational Operator
– Bitwise Operator
– Pointer Operator
2. Macam-macam operand :
-
Unary operator (untuk satu operand)
-
Binary operator (untuk dua operand)
-
Ternary operator (untuk tiga operand)
3. Arithmatic operator
Arithmetic adalah cara yang digunakan untuk menghitung matematika dasar. contoh – contoh ikon yang di gunakan Arithmetic
+ Addition
– Subtraction
* Multiply
/ Division
% Modulo
++ Increment
— Decrement
() Scope / Priority
No Comments »
RSS feed for comments on this post. TrackBack URL