-
What is the output of this program?
#include
using namespace std;
double Time()
{
double T = 26.25;
double H = T;
return H;
}
int main()
{
double H = Time();
cout << "Weekly Hours: " << H;
return 0;
}
-
- Compilation Error
- Runtime Error
- Garbage value
- Weekly Hours: 0
- Weekly Hours: 26.25
Correct Option: E
We are returning the value what we get as input.