One: In-system
1. Definition: Rounding mechanism (rounding method)
2, Usage: A, base: Also known as base, Radix n, n binary
b, Position right: starting from single digit, numbering to the left 0,1, 2,,,x representing n Binary  C: Common computer binaries: two (0b), eight (0), 16 (0x), 10 &NBS P d:x decimal: Weighted sum decimal to X-binary: Even excluding the rewind remainder two, basic data type: keyword Description &NB Sp byte size int shaping type 4short Short type 2LO ng long shaping type 4 or 8float Single precision floating point types 4double Double precision floating-point type 8char &NBS P character types 1 three, constant variable variable definition type modifier variable name = initial value variable naming rules: 1 Can only be made up of numbers, characters, underscores, and arrays cannot start with 2 No system Reserved word name 3 cannot use duplicate variable name & nbsp 4 See Understanding Four, assignment operator = (lower assignment operator precedence) Five arithmetic operators + &NB Sp - &N Bsp x &N bsp; /(number of digits not 0) (both sides are integers) ++ & nbsp --(operator precedes, executes first, operator is behind, executes after) Six compound operator arithmetic operator &NB Sp Grammar meaning += &N Bsp a+=b; a= a+b; -= &N Bsp a-=b; a=a-b; *= &N Bsp a*=b; a=a*b; /= &N Bsp a/b=b; a= a/b; %= & nbsp a%b=0; a= a%b; Seven Expressions: constants, combinations of variables and operators. (The expression will have a return value) statement : statement is the smallest unit of program execution, generally with ";" End eight input/output function 1 format output function printf syntax form print (format string,& expression 1,& expression,,,,); (by Normal characters and conversion characters) 2 format input function scanf
IOS _c Language _1