Updated function signatures

This commit is contained in:
Pasha Bibko
2025-08-04 13:16:08 +01:00
parent 5bb9f2c28a
commit a77d5bd129
7 changed files with 83 additions and 66 deletions

View File

@@ -8,7 +8,7 @@ func<int> fib(int num)
return fib(n - 1) + fib(n - 2)
}
func<int> main(void)
func<int> main()
{
int res = fib(8)
return res == 21

View File

@@ -3,7 +3,7 @@ func<int> add(int a, int b)
return a + b
}
func<int> main(void)
func<int> main()
{
int c = add(3, 4)
if (c == 7)