Vidyalelo
C++ Programming · Q82

Introduction to C++

Programming · C++ Programming · question 82

Q82

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

A.
Garbage value
B.
0
Answer
C.
99
D.
Error

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board