fork download
  1. #include <stdio.h>
  2. int f(void)
  3. {
  4. printf("Function\n");
  5. }
  6. int main(void) {
  7. int (*ptr[1])();
  8. ptr[0] = f;
  9. (*(ptr[0]))(); /* Line 1 */
  10. (*(*(ptr[0])))(); /* Line 2 */
  11. ptr[0](); /* Line 3 */
  12. (*ptr)();
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 9416KB
stdin
Standard input is empty
stdout
Function
Function
Function
Function