c study code demos