MIPI_AdvancedC_FRTK/Lect1/24_page_40.1.c

14 lines
166 B
C
Raw Normal View History

2024-11-14 08:45:50 +03:00
#include <stdio.h>
int func(int n) {
printf("Hello func %d\n",n);
return n+1;
}
int main()
{
int (*fp)(int);
fp = func;
fp(128);
return 0;
}