File Handling

  1. Input file Name from user and count no. of chars, words and lines it contain.
    Expected Output:
        Enter File Name: real.cpp
        
        No. of Chars : 100
        No. of Words : 20
        No. of lines : 3
                           
  2. Write a Program to Copy Ist 5 lines of one file to another file.
  3. Write a note on functions used in file handling in C.