Loading practice questions
What will be the output of the following C++ code
#include
#include
using namespace std;
int main(int argc, char const *argv[])
{
array<int,arr arr1.fill(5);
cout<<get<5>(arr1);
return}
Correct Answer: D — 5
Explanation:
fill() function is used to fill an array class with the given single value.