posted 18 years ago
this is the forward reference method.
Eg:
a=1; // here a will be assigned to 1
a=a+1; // here a will be incremented and then assign
In that program(Your Program), assigning gives no problem, it will not allocate memory until it finds the declaration, but while u use a=a+1, it will see the right hand side value(a+1) where it will think that value hasnt been declared and it will issue forward reference error
i think it is clear, if u still have doubt reply me.