No, in this context "=" is not the assignment operator. While initialisation certainly involves assignment in the computer science sense, C distinguishes between initialisation and assignment, that's why I noted that "that's initialisation, not assignment". I did not mean to imply that there was no assignment of value, because of course initialisation involves the initial assignment of a value.Originally Posted by C_me_run
Good to see that rstanley cleared it up, though you must have missed my preceding sentence about static storage duration because "you have declared these variables outside of a function" and how that means that those variables are "are initialised at startup".Originally Posted by C_me_run
Ascribing divinity might be taking it a step too far, but I suppose it works!Originally Posted by rstanley