memset bool array code example
Example: memset array bool
//Array declaration
bool arr[10];
//To initialize all the elements to true
memset(arr,1,sizeof(arr));
//Array declaration
bool arr[10];
//To initialize all the elements to true
memset(arr,1,sizeof(arr));