Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Strncpy memcpy
#include <stdio.h> #include <stdlib.h> int main() { char s[10] = "qwerty", str[10], str1[10]; s[7] = 'A'; printf("%d\n",s[9]); strncpy(str,s,8); printf("%d\n",str[7]); memcpy(str1,s,8); printf("%c\n",str1[7]); return 0; }
run
|
edit
|
history
|
help
0
linux (mostly) true random number generator
faster posting list using skip pointers
24-June-2015
sorted array
AVANCE DE PREGUNTA 5
Nice1
C_141113_VariosPerfectos
20171103_Digitos
Majeur ou mineur
1_9