What will happen when you attempt to compile and run the following code?
#include
int main()
{
const int x = getValue(); cout<
B. The code will not compile.
C. It will print 5
D. It will print garbage value
What will happen when you attempt to compile and run the following code?
#include
int main()
{
const int x = getValue(); cout<
B. The code will not compile.
C. It will print 5
D. It will print garbage value