From 992866d1393c5e65434fd1c6c1abf78de63d409c Mon Sep 17 00:00:00 2001 From: Mohd Musaiyab <106825955+MohdMusaiyab@users.noreply.github.com> Date: Fri, 26 May 2023 00:11:05 +0530 Subject: [PATCH] Create Sum of Array elements --- Sum of Array elements | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Sum of Array elements diff --git a/Sum of Array elements b/Sum of Array elements new file mode 100644 index 0000000..c5adefc --- /dev/null +++ b/Sum of Array elements @@ -0,0 +1,10 @@ + +int sumElement(int arr[],int n) +{ + long sum=0; + for(int i=0;i