If I want to write in for
loop (for example) something with the next mention:
for(int i=0;i<5;i++) {
char* str_3="atom_3";
if(strcmp(str_3,"atom_i")!=0){ // I know that it's not true to get it by
//this line.
printf("FALSE");
}
}
I want to get effect so that str_i
will be compared with atom_0
, atom_1
, ... , atom_4
.
How can I do it?