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;