πŸ“Š C++
Q. What is the output of the following C++ code?
Code:
#include<iostream>
using namespace std;
int arr[50];
int main()
{
    cout << arr[49] << endl;
}
  • (A) Random value
  • (B) 49
  • (C) 0
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (C) 0

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
258
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
97%
Success Rate