Advertisement
JoelSjogren

Untitled

Apr 7th, 2021
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. [cling]$ int square(int u) { return u*u; }
  2. [cling]$ #include<iostream>
  3. [cling]$ using namespace std;
  4. [cling]$ cout << square(42) << "!" << endl;
  5. 1764!
  6. [cling]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement