diff options
| author | Melodi <62381002+Melodi17@users.noreply.github.com> | 2025-08-09 12:51:08 +1000 |
|---|---|---|
| committer | Melodi <62381002+Melodi17@users.noreply.github.com> | 2025-08-09 12:51:08 +1000 |
| commit | 78d73c6e3a6e96b750bc4100f754484890ea650b (patch) | |
| tree | 5c6f8b891513534f4fe722202fcbd3f075536c6e /ROMs/hello_c.c | |
| parent | 7f334796e8d0619dc744b1345a7b7b73a27220f9 (diff) | |
added lazy function definition
Diffstat (limited to 'ROMs/hello_c.c')
| -rw-r--r-- | ROMs/hello_c.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/ROMs/hello_c.c b/ROMs/hello_c.c index 839c12d..f670952 100644 --- a/ROMs/hello_c.c +++ b/ROMs/hello_c.c @@ -1,9 +1,7 @@ -int add(int a, int b) -{ - return a + b; -} - int main() { - return add(1, 2); + int x = 1; + for (int i = 0; i < 10; i++) { + x *= 2; + } }
\ No newline at end of file |
