Memset Array Bool

//Array declaration
bool arr[10];

//To initialize all the elements to true

memset(arr,1,sizeof(arr));
UnderTaker