I want to call a function within a loop. The function takes three parameters. I want two of them to stay unchanged within a loop while only the third is affected through my loop.
Edited Version : Here is a sample code:
void Function(int v1, int v2, int v3) {};
int main(int argc, char** argv) { 
    int a;
    int b;
    for (int i = 0; i < 5; ++i) {
        Function(int a, int b, i)
    }
}
This is the error I get when I compile this code :
error: 
      expected expression Function(int v1, int v2, i)....
Is there a way to realize my idea?
 
     
     
     
     
    