Now I get it. v is declared as an array of pointers to char (char * v[]) while string is declared as an array of chars. I was passing to function contem v as a pointer to char and string as a char....
Type: Posts; User: Samir Aguiar
Now I get it. v is declared as an array of pointers to char (char * v[]) while string is declared as an array of chars. I was passing to function contem v as a pointer to char and string as a char....
v is declared like this:
char *v[10];
After I have added the [] to the second argument of the contem function I got only two warnings:
warning: passing argument 2 of 'strcmp' makes pointer from...
Hello there,
I'm new to C programming and I have the following exercise to do:
"Consider an array v[0, 1,..., (n-1)] whose elements are strings. Remember that, in C a string is just an array of...
I'm still confused with this part: "insert current node into third list". How should I do that?
I mean, how would be the syntax for malloc to create a new node for each node of the source list? I...
Hello there, I'm new here and also new to C programming.
I'm having trouble to do a exercise, where I'm supposed to create a function which receives two pointers for two linked lists and returns a...