[ create a new paste ] login | about

Link: http://codepad.org/4ybY4CQ5    [ raw code | output | fork ]

C, pasted on Dec 17:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdio.h>

int n;
int func(){
  n=2;
}
int n;

int main(void)
{
    func();
    n *= 5;
    printf("%i",n);
    return 0;
}


Output:
1
10


Create a new paste based on this one


Comments: