From 91801fdc5a303ef75f1934f4814af0df0d4c320c Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Sun, 2 Mar 2025 13:11:02 +0300 Subject: [PATCH] static-vs-dynamic-mem-alloc.c: fix output format --- c-programming/experiments/static-vs-dynamic-mem-alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-programming/experiments/static-vs-dynamic-mem-alloc.c b/c-programming/experiments/static-vs-dynamic-mem-alloc.c index 3c83620..cc0f5d3 100644 --- a/c-programming/experiments/static-vs-dynamic-mem-alloc.c +++ b/c-programming/experiments/static-vs-dynamic-mem-alloc.c @@ -75,7 +75,7 @@ int main(void) { long double value1 = measure(static_memory_allocation, &c); printf("Dynamic memory allocation"); long double value2 = measure(dynamic_memory_allocation, &c); - printf("\nStatic memory allocation is ~%.0Lf nanoseconds faster", + printf("\nStatic memory allocation is ~%.0Lf nanoseconds faster\n", value2 - value1); return EXIT_SUCCESS;