predict the output of c program