Question: #include char ch; ifstream in_file; in_file.open(c:File.txt); while (in_file.get(ch)) { if (isupper(ch)) cout < < ch; } return 0; } What is the output of the

#include 
char ch;
 ifstream in_file;
 in_file.open("c:\\File.txt");
 while (in_file.get(ch))
 {
 if (isupper(ch))
 cout << ch;
 }
 return 0;
}

What is the output of the program if File.txt contains the text "Four And 20"?

Won't compile because of unknown function "isupper()".

A. Won't compile because of unknown function "isupper()"

B. F

C. FA

D. Four And 20

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!