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
Get step-by-step solutions from verified subject matter experts
