Problems in the Code with if command.
Hello everybody. I have difficulties with a C code
I pose/put the value 0 in prime variable and after that I put it into if
for(i=0; i<counter&′ i++)
prime=0; // here is my problem
if(prime) // How if works ???? prime = 0
how works??? From theory I knew that if command stops to work when find a zero value. And now the prime is 0!!!!!
Thank in advance. :)