samedi 24 février 2018

advanced manipulation in C [duplicate]

This question already has an answer here:

Can some one help me understand what the second argument of this function is doing

    expandWildcard(newPrefix, (*temp == '/')?++temp:temp);

temp is a char pointer

and also what this if statement means

    if (suffix[0] == '.') {
                        arr[counter++] = (argument[0] != '\0')?strdup(argument):strdup(enter->d_name);
                    }   

Aucun commentaire:

Enregistrer un commentaire