Fixed the uploaded example C code