What will be the output of the following C++ code?
int calculate()
{
return 25;
}
int main()
{
int x = calculate();
cout << x;
}
Options
- B. 25
- C. Garbage value
- D. More than one of the above
- E. None of the above