1. 과 ¶
- 결과값
#include<stdio.h> int main() { int a=1,b=2,c=3,d=4,e=5; printf("%d\n",(++a)+(b++)*(c+d)%e); return 0; }
- bitwise operation
- 0110 0101 ^ 1001 1010
- 1010 1101 & 1010 1010
- 1010 1111 | 1010 1001
- 0110 0101 ^ 1001 1010
- ,
2.1.1. (fact) ¶
- redirection: input: <, output: >
- assignment operator: == 과 까
- arithmetic operator(거 교 )
- increment/decrement, postfix/prefix: 거 곧 . 깨 (
겠)
- shorthand operator (arithmetic operator + assignment operator)
- operator precedence/associativity
- bitwise operator
2.2.1. (fact) ¶
operator() .
-expression과 statements
-assignment operater (=) .
-increment operator ++i expression 기 , i++ 1
-decrement operator 1
-operator precedence() << 이건 초등학교때 배운거.
%(?) *,/ ?
-bitwise 까 겠 ㅜㅜ
-expression과 statements
-assignment operater (=) .
-increment operator ++i expression 기 , i++ 1
-decrement operator 1
-operator precedence() << 이건 초등학교때 배운거.
%(?) *,/ ?
-bitwise 까 겠 ㅜㅜ
2.2.3. 과 ¶
- 결과값
#include<stdio.h> int main() { int a=1,b=2,c=3,d=4,e=5; printf("%d\n",(++a)+(b++)*(c+d)%e); return 0; }
2+2*7%5
2+4=6
- bitwise operation
- 0110 0101 ^ 1001 1010
- 1010 1101 & 1010 1010
- 1010 1111 | 1010 1001
- 0110 0101 ^ 1001 1010
2. 1010 1000
3. 1010 1111
2.3.3. 과 ¶
- 결과값
#include<stdio.h> int main() { int a=1,b=2,c=3,d=4,e=5; printf("%d\n",(++a)+(b++)*(c+d)%e); return 0; }
=> : 2+2*7%5 2+4 6..
- bitwise operation
- 0110 0101 ^ 1001 1010
- 1010 1101 & 1010 1010
- 1010 1111 | 1010 1001
- 0110 0101 ^ 1001 1010