I'm trying to learn weather or not this is a correct way to due the above.Code:
int main(int argc, char **argv)
char *name = NULL;
name = argv;
printf("Name is %s\n", name);
Is this insecure?
If it is how can I make it correct?
I will not know the length of the input.
WOuld I have to malloc?