aboutsummaryrefslogtreecommitdiff
path: root/SingleSource/UnitTests/2002-05-02-ManyArguments.c
blob: 484fa2d5739118dfa93f2057e94ce90478a84d56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

#include <stdio.h>

void printfn(int a, short b, double C, float D, signed char E, char F, void *G, double *H, int I, long long J) {
	printf("%d, %d, %f, %f, %d\n", a, b, C, D, E);
	printf("%d, %ld, %ld, %d, %lld\n", F, (long) G, (long) H, I, J);
}

int main() {
	printfn(12, 2, 123.234, 1231.12312f, -12, 23, (void*)123456, 0, 1234567, 123124124124LL);
	return 0;
}