diff options
| author | Mike Vink <mike@pionative.com> | 2024-05-22 08:49:29 +0200 |
|---|---|---|
| committer | Mike Vink <mike@pionative.com> | 2024-05-22 08:49:29 +0200 |
| commit | 51169f5f9ab178a4ddfe9dac461405a71c9c0f94 (patch) | |
| tree | 0b6bb0c6c31ee27361b28e2c5993f362c1cc95e2 /3/3_data_formats/main.c | |
| parent | 77f19e4a89d8dec97930c5e237139734c5fb3365 (diff) | |
organise
Diffstat (limited to '3/3_data_formats/main.c')
| -rw-r--r-- | 3/3_data_formats/main.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3/3_data_formats/main.c b/3/3_data_formats/main.c new file mode 100644 index 0000000..7fac153 --- /dev/null +++ b/3/3_data_formats/main.c @@ -0,0 +1,16 @@ +#include <stdio.h> + +void multstore(long, long, long *); + +long mult2(long a, long b) { + long s = a * b; + return s; +} + +int main() { + long d; + multstore(2, 3, &d); + printf("2 * 3 --> %ld\n", d); + return 0; +} + |
