[ create a new paste ] login | about

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

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


void fn(int a)
{
    printf("1\n");
}

void fn(float a)
{
    printf("2\n");
}


int main()
{
    fn(1);
    return 0;
}


Output:
1
1


Create a new paste based on this one


Comments: