+ 2
Can "while " be an identifier
in a code can "while" act as an identifier ?
7 Respostas
+ 2
For a constant yes, as a define, but it would prevent you from using it as a loop :
#define while 45
+ 2
Keywords cannot be names of variables.
+ 1
well yeah
+ 1
but you can't use it in a loop later on
+ 1
and you will cconfuse yourself
+ 1
sorry for sending the answer separately
- 1
it can , but it tends to confuse a reader .key words shouldn't be used as variable