Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

memset array bool

//Array declaration
bool arr[10];

//To initialize all the elements to true

memset(arr,1,sizeof(arr));
Source by www.thetopsites.net #
 
PREVIOUS NEXT
Tagged: #memset #array #bool
ADD COMMENT
Topic
Name
4+2 =