[ create a new paste ] login | about

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

C++, pasted on Oct 16:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <iostream>

using namespace std;

int main() {

int a = 1;

int c = 2; int *b;

b = &c;

c = 5;

cout << (a**b) + c;

}


Output:
1
10


Create a new paste based on this one


Comments: