void testpf() {
int (*ptMain)() = main;
void (*ptFoo)() = Foo;
ptFoo();
printf("main() is at 0x%x\\n", (unsigned long)ptMain);
printf("Foo() is at 0x%x\\n", (unsigned long)ptFoo);
}
void testpf() {
int (*ptMain)() = main;
void (*ptFoo)() = Foo;
ptFoo();
printf("main() is at 0x%x\\n", (unsigned long)ptMain);
printf("Foo() is at 0x%x\\n", (unsigned long)ptFoo);
}
WENXUECITY.COM does not represent or guarantee the truthfulness, accuracy, or reliability of any of communications posted by other users.
Copyright ©1998-2025 wenxuecity.com All rights reserved. Privacy Statement & Terms of Use & User Privacy Protection Policy