Nguyễn Hào
New member
What will be the output of the following C++ code?
A. Garbage value
B. 0
C. 99
D. Error
Code:
#include<iostream>
using namespace std;
int x[100];
int main()
{
cout << x[99] << endl;
}
B. 0
C. 99
D. Error