[clike demo] Fix duplicate variable names for C and C++ editors

The C editor and the C++ editor have the same variable name, so
the latter shadows the former. Fixed by renaming both.