Posts by Gabriel Lampa • 1 point
2 posts
-
0
votes1
answer202
viewsA: Change a char array within a function
What I wanted was to change the string dh which passed as a parameter in the function. At the time I passed as *dh instead of **dh/ *dh[]. This code changes the string in two different ways (for…
-
0
votes1
answer202
viewsQ: Change a char array within a function
I am trying to pass a char array pointer to a function. I want it to make changes to this char array. Follow the function code: void dhnfe( char tzd, char hverao, char *dh) { if (hverao == 1) {…