A study of the CNO reaction by using isotopically labelled C and NO