Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Array Sum
//gcc 5.4.0 #include <stdio.h> int main(void) { int nums1[10]={1,2,3,4,5,6,7,8,9,10}; int nums2[10]={2,4,6,8,10,12,14,16,18,20}; int sum[10]; for (int i=0; i <sizeof(nums1)/4; i++){ sum[i]=nums1[i]+nums2[i]; printf("Sum is %d\n",sum[i]); } return 0; }
run
|
edit
|
history
|
help
1
joseph triangle
Link List
Practice
Project 3 Part 1 v2
dynamic memory allocation.c
140114_CribaErasthotenes
18BCE2182 ASSESS_2 Q1
get_bit
18BCE2182 LAB FAT-2-A-i
WAP in C to delete an element from an array