c - How One can make a variable right to access from ONLY two functions that a file consists of total five functions -


how 1 can access variable 2 functions file consists of total 5 functions.(no global or static declaration)

you can't in c; file compilation unit defines boundaries static variables of sort, since can edit or view file work of functions in it. if need separate visibility, have split functions multiple files.


Comments

Popular posts from this blog

design - Custom Styling Qt Quick Controls -

Unable to remove the www from url on https using .htaccess -