Skip to content
Snippets Groups Projects
Commit 66ed97e3 authored by HYSI-CILY's avatar HYSI-CILY
Browse files

fix the problem

parent bacf71b6
No related branches found
No related tags found
1 merge request!3Developper
...@@ -7,7 +7,7 @@ void main(int argc, char* argv[]) { ...@@ -7,7 +7,7 @@ void main(int argc, char* argv[]) {
printf("Hello %s!\n", argv[1]); printf("Hello %s!\n", argv[1]);
else { else {
printf("Hello "); printf("Hello ");
printf(argv[1]); printf("%s",argv[1]);
for (int i=2; i < argc; i++) for (int i=2; i < argc; i++)
printf(", %s", argv[i]); printf(", %s", argv[i]);
printf("!\n"); printf("!\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment