What will be the output of the following C++ code? [code] #include<iostream> using namespace std; int x[100]; int main() { cout <<

Nguyễn Hào

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

Tìm kiếm

Back
Top