Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C
c modify char array
nneonneo
Programming language:
C
2021-03-19 22:51:31
1
Q:
c modify char array
Bob Stout
Code:
C
2021-04-07 20:43:07
char name_buf[5] = "Bob"; name_buf = "Alice"; // error strcpy(name_buf, "Alice");
0
Tags
array
Related
casting an int to a char in c
how make a character in c scanf
how to convert int in to const char in c
printf n characters c
how to put a char into a string c
print to console in c
how to swap values in variables in c
print variable c
how to transform a char to ascii code in c
how to feed a char array to function in C
write array of char to file in c
turn a char into an int in c
New to Communities?
Join the community