[ create a new paste ] login | about

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

C++, pasted on Oct 2:
1
2
3
4
5
6
7
8
9
10
#include <iostream>
#include <typeinfo>

using namespace std;

int main()
{
	cout << typeid((short)10 + (char)20).name() << endl;
	return 0;
}


Output:
1
i


Create a new paste based on this one


Comments: