c and cpp study and experiment