int max(int N, ...){
int* x = &N;
x = x + 1;
int max = x[1];
for(int k = 1; k < N ; k += 1){
if(x[k] > max) {max = x[k];}
}
return max;
}
void main(){
//printf("%d", max(3));
}
I've tried compiling the above code from an key solution, but Im getting the error syntax error : 'type' What's going on...