Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int he_stak (long a)
- {
- if (a%100 == 0)
- cout << a * sizeof (a) / 1024 << endl;
- return he_stak(++ a);
- }
- int main()
- {
- cout << he_stak(1);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment