[ create a new paste ] login | about

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

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


Output:
1
6006


Create a new paste based on this one


Comments: