Q----what will happen if we use keywords as variables name!?.....
Answers
Answered by
1
Explanation:
There are two main reasons:
It makes the developer's life hard; and
It makes the compiler's life hard.
If keywords were allowed as variable names, it would be very hard to tell (for the developers and the compilers) whether something was a variable or a keyword. For example, what does the following mean?
if(x == 10)
Is it an if-statement, or calling a function called if?
Neither the developer nor the compiler would be able to tell.
hope it helps
mark me brainliest
like it and follow me tooo....
Similar questions