extern data and static diffenece since static is used for keeping the value after existing function, extern use the value in other module. are they the same?
"extern ... and static ... are they the same?" Definitely not! A 'static' identifier cannot be accessed via an 'extern' declaration! Time to re-read your 'C' textbook.