Demo code to learn the C sdk