Created
October 21, 2016 09:47
-
-
Save yvan-sraka/cf1f8bb69804c7939a670b4a2a7f0c67 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#include "unistd.h" | |
#include "stdlib.h" | |
#include "stdio.h" | |
int main(void) { | |
char* key = malloc(sizeof(char) * 20); | |
key = "cookie"; | |
for (char i = 0; i < 20; ++i) { | |
printf("[%c]", key[i]); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment