online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
using System; class HelloWorld { static long Suma2(int[]T1, int n) { if (T1 == null || T1.Length == 0 || T1.Length <= n) return 0; long rek = Suma2(T1, ++n), tu; if (n % 2 == 0 && T1[n] % 2 == 0) tu = T1[n]; else tu = 0; return tu + rek; } static void Main(string[] args) { int[] T = { 1, 22, 3, 15, 60, 35, 4, 6, 10 }; Console.WriteLine(Suma2(T, 4)); } }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue