In this loop I print each of the values in an array "values." They appear as 93832734557896 instead of 9383 2734 557 896, etc:
for( n = 0 ; n < num_values; n++ ) {
printf("%llu", values[n]); }
I want to print a space after each number, not a newline. How can I do that with printf?
Thanks
>Solution :
Just add a space in your printf
statement:
printf("%llu ", values[n]);
// ^ notice the space here