prueba2
parent
02998f3b0a
commit
53b453401b
@ -1,7 +1,12 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
int main(void){
|
int main(int argc, char *argv[]){
|
||||||
printf("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\n");
|
printf("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\n");
|
||||||
|
printf("Number of arguments: %d\n",argc);
|
||||||
|
printf("Program is reciving: %s\n", argv[0]);
|
||||||
|
|
||||||
|
if(argc > 1)
|
||||||
|
printf("Argument: %s\n",argv[1]);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue