From d98f46ce647846b0aa30b2e16a30fd4e152a1bf5 Mon Sep 17 00:00:00 2001 From: Carlos Maiolino Date: Thu, 10 Jul 2025 22:55:07 +0200 Subject: Add new code Signed-off-by: Carlos Maiolino --- PGU/OLD/chapter4/call_power.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 PGU/OLD/chapter4/call_power.c (limited to 'PGU/OLD/chapter4/call_power.c') diff --git a/PGU/OLD/chapter4/call_power.c b/PGU/OLD/chapter4/call_power.c new file mode 100644 index 0000000..b6bb7e0 --- /dev/null +++ b/PGU/OLD/chapter4/call_power.c @@ -0,0 +1,12 @@ +#include + +int power(int a, int b); + +int main(void) { + int a = 2; + int b = 6; + + printf("Power == %d\n", power(2, 6)); + + return 0; +} -- cgit v1.2.3