sample c src for objective programming