From 78d73c6e3a6e96b750bc4100f754484890ea650b Mon Sep 17 00:00:00 2001 From: Melodi <62381002+Melodi17@users.noreply.github.com> Date: Sat, 9 Aug 2025 12:51:08 +1000 Subject: added lazy function definition --- ROMs/hello_c.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'ROMs/hello_c.c') 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 -- cgit v1.3.1