From 47030a02e2e3a4b6e4df9661ad2948bac77658e4 Mon Sep 17 00:00:00 2001 From: k2-colambatant <kavishka2.colambatantri@live.uwe.ac.uk> Date: Thu, 31 Mar 2022 18:54:23 +0000 Subject: [PATCH] task4.c --- Task 4 - Environment Variables and system()/task4.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Task 4 - Environment Variables and system()/task4.c diff --git a/Task 4 - Environment Variables and system()/task4.c b/Task 4 - Environment Variables and system()/task4.c new file mode 100644 index 0000000..7abdede --- /dev/null +++ b/Task 4 - Environment Variables and system()/task4.c @@ -0,0 +1,7 @@ +#include <stdio.h> +#include <stdlib.h> +int main() +{ +system("/usr/bin/env"); +return 0 ; +} -- GitLab