19 lines
255 B
C
19 lines
255 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
void printTab(double* tab){
|
|
if (*tab){
|
|
printf("%.2lf, ",*tab);
|
|
printTab(tab+1);
|
|
}
|
|
else{
|
|
printf("\n");
|
|
}
|
|
}
|
|
|
|
int main(void){
|
|
double tab[]={8.36,666,3.141592,32};
|
|
printTab(tab);
|
|
return 0;
|
|
}
|