[c] 함수포인터 선언

숭글·2023년 1월 16일
0

<반환형> (<함수 포인터 변수 명>)(<파라미터>)

example

int (*ptr)(int a, int b);

ptr = max;
profile
Hi!😁 I'm Soongle. Welcome to my Velog!!!

1개의 댓글

comment-user-thumbnail
2023년 2월 22일

함수 포인터 배열 <int (*ptr[n])(int a, int b);>

답글 달기