C++ Programming MCQ Test 3: Question 2

What will be the output of the following C++ code snippet ?
#include <iostream> 
using namespace std; 

int main() {
    register int i = 1;
    int *ptr = &i;
    cout << *ptr;
    return 0;
}



sec