When programming, you have to resort to using variables to store information sooner rather than later.
It is advisable, for the program to be readable (which makes the appearance of errors difficult and facilitates the tasks of debugging and maintenance), is that these variables have significant names about their usefulness.
The names are, yes, free in any case.
int opc;
In this line an integer variable is being declared and that variable has been given the name opc
. Why that name and not another? Because it is the one who has chosen the one who wrote the program ... who could also have chosen tengounavaraiblequenosecomonombrar
, but who chose the same% opc
because it seems descriptive enough.