SyntaxFix
Write A Post
Hire A Developer
Questions
You have to loop through the array and printf() each element:
printf()
for(int i=0;i<10;++i) { printf("%.2f ", foo[i]); } printf("\n");