Issue in getting expected randomized value

declare bit c as random , then you will not get the randomization failure.
if you dont mention bit c as rand ,when you randomize the object the value assigned to c is 0, and the constraint constrains bit c to 1, which is conflict.