Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 선그래프
- 백준
- 알고리즘 스터디
- MySQL
- dataframe
- 파이썬
- Selenium
- pandas
- String Method
- 정보처리기사 c언어
- 알고리즘
- Matplotlib
- javascript
- 알고리즘스터디
- Algorithm
- 가상환경
- type hint
- NumPy
- programmers
- aws jupyter notebook
- 데이터시각화
- openCV
- 프로그래머스
- Stack
- 자료구조
- Join
- queue
- 노마드코딩
- 코딩테스트
- python
Archives
- Today
- Total
목록함수 주소 리턴 (1)
조금씩 꾸준히 완성을 향해

#include int f(int *i, int j); int main(void){ int x=10, y=20; printf("%d\n", f(&x, y)); printf("%d %d", x, y); } int f(int *i, int j){ *i += 5; return (2* *i + ++j); } // 51 // 15 20 #include int foo(int a, int *b); int main(){ int a=5; int b=3; int c=0; b = foo(a, &c); c = foo(b, &c); printf("a=%d b=%d c=%d", a, b, c); } int foo(int a, int *b){ int c; *b = a+1; c = a-1; return c; } // a=5 b=4 ..
기타 언어/C 언어
2023. 3. 26. 21:02