Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- inline int recursive_test(int a)
- {
- if (a > 0)
- {
- a += recursive_test(a - 1);
- }
- return a;
- }
- int main()
- {
- printf("test: 0x%08x\n", recursive_test(10));
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement