Question: in C TA's Name: 2. (15 pts) Write a function called is digit that accepts a file handle parameter to an already opened input file.
in C TA's Name: 2. (15 pts) Write a function called is digit that accepts a file handle parameter to an already opened input file. The function reads one character from the file, and determines if the character is a digit or not Tunction must open a second file for mode write. If the character is a digit hen the function output the text "true" to the output file and return 1 (true); wie wise it outputs false to the output file and returns 0 (false). Be sure to close the output file! You may NOT use any functions from
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
