Computer Science, asked by harinadh20l31, 1 month ago

How do you make the two functions written by you access the same variables. Explain with an example.​

Answers

Answered by agamyarathore19
0

Answer:

have two functions read() and write(). I read a file in the read() function and store a line in the header in a variable. Now i want the write() function to write that same line to a new file. But how can i use the same variable or information from the other function? What is the way to do this?

Similar questions