summaryrefslogtreecommitdiff
path: root/func_practice_1.c
blob: 4af6fe44d6318a10cf0f55ba84a641a4ea5841a8 (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>

int sum(int[]);

int main(){
	int my_num[] = {1, 2, 3};
	printf("The total is : %d", sum(my_num));
}

int sum(int x[])