Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [cling]$ int square(int u) { return u*u; }
- [cling]$ #include<iostream>
- [cling]$ using namespace std;
- [cling]$ cout << square(42) << "!" << endl;
- 1764!
- [cling]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement