why we are not intialise the 2 D char keypad array int the main function or int the generate_names function??? how it will access outside the function???
Initialising 2Dchar array
2D character array is define gloabally
so any function can access it
Global variables are defined outside of all the functions, usually on top of the program. The global variables will hold their value throughout the lifetime of your program. A global variable can be accessed by any function