Write a function named fcheck that checks whether a file


Write a function named fcheck() that checks whether a file exists. The function should accept an ifstream object as a formal reference parameter. If the file exists, the function should return a value of 1; otherwise, the function should return a value of 0.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a function named fcheck that checks whether a file
Reference No:- TGS02195544

Expected delivery within 24 Hours