int arr[4]; //this is you're array
int t; //ignore
int ar[4]{35,11,36,47}; //you're creating a new array
There are lots of problems in this.
1: You are creating two arrays, named int arr and int ar.
2: You need an = between int ar[4] and {35,11,36,47};, like this: int ar[4]={35,11,36,47};
3: If you only want to make one array, then do this: