Skip to content

Instantly share code, notes, and snippets.

@BYVoid
Created September 22, 2012 15:02

Revisions

  1. BYVoid created this gist Sep 22, 2012.
    11 changes: 11 additions & 0 deletions func.c
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    #include <stdio.h>

    int buf = 0;
    void func();

    int main() {
    buf = 1;
    func();
    printf("%d\n", buf);
    return 0;
    }