[Solved] can you help me in this (C lang)? [closed]


/* with thanks to @AduaitPokhriyal */
#include <stdio.h>

int main(int argc, char *argv[])
{
    char command[100]; /* i hope this is large enough! */
    sprintf(command, "grep %s %s", argv[1], argv[2]); /* i hope the arguments are there and valid! */
    system(command); /* surely "grep" must use strstr() somewhere */
    return 0;
}

0

solved can you help me in this (C lang)? [closed]