2079 1

C Programming207910 marksFile creation and copying

List the advantages and disadvantages of global variable. Assume the two data files "numl.txt" and "num2.txt" containing integers. Merge these two files to the third file named " file3.txt". Here, the integers of " file3.t-xt" must be written in sorted order.

List the advantages and disadvantages of global variable. Assume the two data files "numl.txt" and "num2.txt" containing integers. Merge these two files to the third file named " file3.txt". Here, the integers of " file3.t-xt" must be written in sorted order.[10]

A global variable is a variable declared outside all functions, making it accessible to every function in the program. --- Advantage Explanation --------------------------- 1 Universal Accessibility Any function can read or modify the variable without receiving it as a parameter 2 Reduced Paramet...

Up nextHow nested Structure is defined and initialized? Explain with an example.Write a program,