12 lines
194 B
C
12 lines
194 B
C
|
#include<stdio.h>
|
||
|
|
||
|
void some_function() {
|
||
|
puts("Hello, world!\n");
|
||
|
}
|
||
|
|
||
|
int main() {
|
||
|
void (*function)() = &some_function;
|
||
|
printf("some_function is located at %p\n", function);
|
||
|
return 0;
|
||
|
}
|