programming arduino

while initialization of a variable how processor will determine whether the value is pin number or any value.

Can you restate the question, in a way that makes sense?

A number is a number - it’s how you interpret it and its context that indicates the usage.
(A pin number would normally be a constant, so it couldn’t appear on the left hand side of an assignment)