Created
April 17, 2019 05:43
-
-
Save a1exlism/633f159f7cb74f33139a5e7217778f9c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// It Depand on value | |
// 1. Value 0 | -1 | |
#include <string.h> | |
memset(arr, -1, sizeof(arr)); | |
// 2. any value | |
#include <algorithm> | |
using namespace std; | |
fill(arr, arr+len, VAL); // address |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment