Skip to main content

Arrays

Quiz: Arrays Theory

Feeling overwhelmed with all the array concepts that you learned till now? Don't worry, it's Quiz Time!





Last one. What would be the output for the given block of code?

#include<bits/stdc++.h>
using namespace std;

int main()
{
  {int arr[5] = {};}
  cout << arr[1];
  return 0;
}