New answers tagged

1

I suspect the "conditional" is in printf. str is not properly null terminated.


0

It's a scope issue. You're getting compile error because this code is trying to use an undeclared variable, num, to declare the size of a global variable array. num doesn't exist at all at this point: int candidato[num][4]; int totalVotos[num]; It's a problem later too, because if you do successfully declare the size of the arrays, that size is fixed. There'...


Top 50 recent answers are included