[ create a new paste ] login | about

Link: http://codepad.org/x24bmHWg    [ raw code | output | fork ]

C, pasted on Apr 4:
1
2
3
4
5
6
7
#include<stdio.h>
void main()
{
    int a[5] = {1,4,3,2,2};
    printf("%d \n", a[0]+a[1]);
    printf("%d", a[4]+a[3]);
}


Output:
1
2
5 
4


Create a new paste based on this one


Comments: