We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7179019 commit 209f62dCopy full SHA for 209f62d
Makefile
@@ -2,4 +2,4 @@ compile:
2
gcc -o main code/main.c
3
4
run: compile
5
- ./main
+ ./main 123456789
code/main.c
@@ -14,9 +14,9 @@ int main(int argc, char *argv[])
14
// a prompt how to execute the program...
15
if (argc < 2)
16
{
17
- printf("strcpy() NOT executed....\n");
18
- printf("Syntax: %s <characters>\n", argv[0]);
19
- exit(0);
+ printf("strcpy() NOT executed....\n");
+ printf("Syntax: %s <characters>\n", argv[0]);
+ exit(0);
20
}
21
22
// copy the user input to mybuffer, without any
0 commit comments