From 3f18d285ee863b51cc6187dd1db5abf54be93196 Mon Sep 17 00:00:00 2001 From: zleyyij <75810274+zleyyij@users.noreply.github.com> Date: Fri, 13 Sep 2024 15:54:22 -0600 Subject: [PATCH] vault backup: 2024-09-13 15:54:22 --- .../ECE1400/2024-09-11.md | 30 ------------------- 1 file changed, 30 deletions(-) delete mode 100644 education/software development/ECE1400/2024-09-11.md diff --git a/education/software development/ECE1400/2024-09-11.md b/education/software development/ECE1400/2024-09-11.md deleted file mode 100644 index 45061f8..0000000 --- a/education/software development/ECE1400/2024-09-11.md +++ /dev/null @@ -1,30 +0,0 @@ -Chapter 4 exercises assigned, due monday - -# Operators -C emphasizes *expressions* rather than statements. - -Expressions are built from variables, constants, and operators. - -C provides 5 binary arithmetic operator (arithmetic meaning it requires two things to operate on): -- Addition -- Subtraction -- Multiplication -- Division -- Modulus - -Unary operators only require *one* thing to operate on. -- Positive and minus signs - -Positive and negative signs have a higher precedence then binary arithmetic operations, and binary arithmetic operations follow the normal order of operations. - -## Assignment Operators -- Simple assignment: `=` stores a value into a variable after evaluating an expression -```c -int v; -int e = 5; -// Simple assignment -v = e; - -// You can chain several operators together -i = j = k = 0; -```