SpiceQA
Questions
Tags
Users
Badges
strcpy
22 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
Why does strncpy() produce garbage when the dest is smaller than the src but large enough to fit the wanted substring of src?
user_19513473
0
•
asked Jul 8, 2022
3
3
76
strcpy
strncpy
c
string
Why strcpy(buffer +i, buffer + i +1) doesn't work in the same way as using a temporay array?
user_17299754
0
•
asked Apr 28, 2022
1
2
41
c-strings
undefined-behavior
strcpy
c
Pointer seems not be sync with printf's output
user_18748759
0
•
asked Apr 8, 2022
2
2
50
c-strings
strcpy
pointer-arithmetic
pointers
c
why do i get Segmentation fault executing this code?
user_18344700
0
•
asked Apr 5, 2022
1
2
72
toupper
strcpy
malloc
memory
c
strcpy crashing program
user_17526384
0
•
asked Jan 6, 2022
2
1
98
selection-sort
strcpy
c
arrays
Why is this use of strcpy considered bad?
user_12675559
0
•
asked Oct 5, 2021
2
3
169
strcpy
buffer
c
Updating the string using function in c
user_14311234
0
•
asked Sep 18, 2021
3
3
93
c-strings
strcpy
string-literals
c
arrays
No output produce after running the code. Blank and got nothing. Why?
user_7926871
0
•
asked Jul 8, 2021
2
1
64
strcpy
c
C6387 for memcpy, strcpy and strcpy_s
Admin
1
•
asked Mar 26, 2021
2
1
1207
strcpy
buffer-overflow
memcpy
warnings
c
I got a Bus error while using strcpy() but memcpy() is not
user_7108637
0
•
asked Mar 19, 2021
2
0
383
arm64
strcpy
embedded-linux
c
1
(current)
2
3
Next
Next
Hot Questions