hi every one!
i have a question, how to pass arguments from other functions to main. i want to write a program like nano well not exactly like nano editor. I have a function f_read(char* filename), and fopen() get filename as file name and *filename as "r" read mode and rest of the code will read from a file.
I want is this char filename to main(int argc , char argv)
how can i do that??
any help will be appreciated