Answers for "script in c"

C
0

script in c

#!/usr/bin/perl
use Inline C;
$arg = $ARGV[0];
$arg = tr/[a-z]/[A-Z]/; # modification du paramètre
exit main0($arg);
__END__
__C__
#include <stdio.h>

int main0(char *arg1)
{
   printf("Hello %s \n",arg1);
   return 0;
}
Posted by: Guest on January-14-2021
0

script in c

#!/usr/bin/perl
use Inline C;
exit main0();
__END__
__C__
#include <stdio.h>

int main0()
{
   printf("Hello world !\n");
   return 0;
}
Posted by: Guest on January-14-2021
0

script in c

$ chmod +x test1.c
$ ./test1.c
> Hello world !
Posted by: Guest on January-14-2021

Code answers related to "C"

Browse Popular Code Answers by Language