Hi
I'm a beginner and I'm tryng to exercise with some books and small programs.
I've found a simple progam that contain this code line:
but i can't understand the meaning of " ? 1 : 0 ", and i can't find it into the book.Code:res = (occur == answer)? 1 : 0;
Can anyone help please?
thanks in advance
D.