Bachelor 的部落格

2021年12月3日 星期五

function pointer

void aaaa()
{
    prontf("aaaaa\n");
}

void show(void (* func)())
{
    func();
}

int main()
{
    show(aaaa);
}
張貼者: bachelor 於 下午3:48
標籤: Language C

沒有留言:

張貼留言

較新的文章 較舊的文章 首頁
訂閱: 張貼留言 (Atom)

訪客計數器

網誌存檔

  • ►  2022 (1)
    • ►  3月 (1)
  • ▼  2021 (5)
    • ▼  12月 (5)
      • sed
      • alias
      • function pointer
      • 寄送mail
      • csh use ftp command and standard output
  • ►  2010 (2)
    • ►  9月 (2)
  • ►  2008 (19)
    • ►  10月 (12)
    • ►  9月 (7)
  • ►  2007 (6)
    • ►  11月 (2)
    • ►  5月 (2)
    • ►  4月 (2)

關於我自己

bachelor
檢視我的完整簡介