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
part2final
Coba
150116_FactorialPrimo
loop
switch_nota
la wea afortunada
pruebapi2
A_141121_factorial02
ponyerb orange panther
Command Expressions in Gnu C: What Does Return Return?