REACT C program