get the program counter in c code example
Example: counter program in c language
int main(){
int a ;
int i ;
printf("");
scanf("%d",&a);
for(i = 0; i < a; i++)
{
//something that you wanna worf, for example, the "if" variable...
}
}