INPUT/OUTPUT IN C++ Question 1

Last Updated :
Discuss
Comments

What will be the output of the following C++ code?

#include<iostream>
using namespace std;
int x[67];
int main()
{
    cout << x[62] << endl;
}
 

Garbage value

67

62

0

Share your thoughts in the comments