I want to know method, How to avoid global variable in c microcontroller programing? or method to make global variable invisible. Is there any perticular functions in built in c library?, that could be supportive to avoid global variables or hide global variables.
Who said anything about not using any global variables? the OP Erik
"Who said anything about not using any global variables? the OP" No he didn't: "I want to know method, How to avoid global variable in c microcontroller programing? or method to make global variable invisible. Is there any perticular functions in built in c library?, that could be supportive to avoid global variables or hide global variables." I don't see the words 'all' or the phrase 'not using any' in there.
http://www.bartleby.com/61/96/A0549600.html defines avoid as To stay clear of; shun. That means all Erik
"defines avoid as To stay clear of; shun. That means all" So you think that these two phrases are semantically identical? "Avoid global variables" "Avoid all global variables" I think your grasp of the language is better than that.